Skip to content
This repository
branch: nqp_pct
Fetching contributors…

Cannot retrieve contributors at this time

file 30 lines (24 sloc) 0.49 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# perl program by Thomas Klausner posted on Vienna-PM list
#
# Copyright (C) 2004-2006, Parrot Foundation.

use strict;
use warnings;

my $big;
my $string = "just another perl hacker";

for ( 0 .. 99999 ) {
    $big++;
    my @str = split( //, $string );
    my $f = shift(@str);
    push( @str, $f );
    $string = join( '', @str );
}

print "$big;
$string
";

# ende

# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4:
Something went wrong with that request. Please try again.