Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    ENDCOMMENT 
    
    print "@ARGV\n";
    
  2. or download this
    if (0) {
       # lots of code here that I don't want to use just now...
    }
    
  3. or download this
    # this part is currently runnable:
    
    ...
    # this part is also currently runnable...
    
    print $foo;
    
  4. or download this
    perl -i.bak -pe '$_="# $_" if($.>=10 and $.<=20)' myscript.pl
    
  5. or download this
    perl -i.bak -pe '$_="# $_" if(/^\$foo =/../^\$bar =/)' myscript.pl