Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
  2. or download this
    $_="Perl in a box";
    for(/\S/g){
    @_=(@_=>lc)
    }
    
  3. or download this
    my($i,$k)=(0,'');
    
  4. or download this
    for(@_){
    $_{$_}=$i++
    }
    
  5. or download this
    undef $/;
    $_=<DATA>;
    
  6. or download this
    s;\s;;g;
    for(/../g){
    
  7. or download this
    my@k=/./g;
    
  8. or download this
    @k=(pop@k,@k)if($k[1]ne lc$k[1]);
    
  9. or download this
    for my $k (@k){
    $k=$_{lc$k};
    }
    
  10. or download this
    $k.=chr(30+pop(@k)+10*pop(@k));
    
  11. or download this
    }
    
  12. or download this
    $_=$k;
    s|(.{20})|$1\n|g;
    
  13. or download this
    eval
    
  14. or download this
    $_=q[s;.*;94eae6e840
    c2dcdee8d0cae440a0ca
    ...
    he                x)
    >>1)}$_=join'',@_;pr
    int];s; |\n;;g;eval;
    
  15. or download this
    $_=q[
    s;.*;94eae6e840c2dcdee8d0cae440a0cae4d840d0c2c6d6cae414;s;
    ...
    ];
    s; |\n;;g;
    eval;