Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How not to pass undef variables

by danger (Priest)
on Jan 10, 2002 at 22:12 UTC ( [id://137790]=note: print w/replies, xml ) Need Help??


in reply to How not to pass undef variables

My guess would be that your @newmails array is empty either because the @emails array was empty or because everything is being ignored by your $ignore regex (which uses character classes in a few places where I'm pretty sure you just meant to use parens for grouping). Have you tried printing out the @newmails array after your foreach loop?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found