in reply to Re: Re: Re: Re: Perl Gotchas. (if( condition) { bug })
in thread Perl Gotchas.
Don't change the file itself. But for the record, i stopped using line numbers when i stopped programming in BASIC. If i need to provide line numbers as an example, i just comment the relevant lines ... not the whole darned script. ;)
UPDATE:Don'cha just love Perl. :)perl -pe"s/^\s+\d+\t//" foo.numbered > foo.pl
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
6Re: Perl Gotchas. (if( condition) { bug })
by EvdB (Deacon) on Nov 20, 2003 at 20:56 UTC |