Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    use warnings;
    
    print do{@ARGV=$0;<>};
    
  2. or download this
    print do{local(@ARGV,$/)=$0;<>}; # the usual idiom
    print do{@ARGV=$0;local$/;<>};
    ...
    print do{open$_,"<$0";<$_>};
    print do{@ARGV=$0;*/;<>};        # wtf
    print do{@ARGV=$0;<>};           # wow