Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: On bad habits

by jordanh (Chaplain)
on Jun 22, 2005 at 20:07 UTC ( [id://469159]=note: print w/replies, xml ) Need Help??


in reply to On bad habits

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://469159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (None)
    As of 2024-04-25 01:05 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found