Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 having an uproarious good time at the Monastery: (6)
As of 2024-03-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found