I've been doing this one a lot lately. Anybody else get bitten by this one?
my ($data) =~ /^DQ(....)\d*.DAT/
I stare and stare at it wondering why Perl is telling me that I have an uninitialized value in a pattern match when I _know_ that $_ has something in it.
In reply to Re: On bad habits
by jordanh
in thread On bad habits
by g0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |