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