in reply to
backup.pl
I think weeding out comments is faster if you do:
next if /^#/;
[download]
Comment on
RE: backup.pl
Download
Code
Replies are listed 'Best First'.
RE: RE: backup.pl
by
cleen
(Pilgrim)
on Jun 20, 2000 at 14:28 UTC
Yes, but what if you accidently had a whitespace or somthing before that comment? I accidently do that all the time, this is why it would even be better to use
next if /^\s*\#/;
[download]
-cleen
[reply]
[d/l]
In Section
Cool Uses for Perl