Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    ($_ = 'of Perl Wisdom') =~ s/(.*)/Just Another Perl \1, /;
    ...
    ($_ = 'Hacker') =~ s/(.*)/Just Another Perl \1, /;
    print if /(\S+ )+$1/;
    print "and Just another Perl ",\1;
    
  2. or download this
    perl -e 'while($l++<99){$_.=x;print $l,$1,$/if/^x$|^(xx+)\1+$/}'