Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: checking values of variables

by Laurent_R (Parson)
on Aug 12, 2013 at 15:53 UTC ( #1049137=note: print w/ replies, xml ) Need Help??


in reply to checking values of variables

It might be slightly less cumbersome and still be quite legible to use something like this:

for my $param ($server, $database, $user, $password, ... $sendmail, $initversion) { help() and last if ($param eq q{}); }


Comment on Re: checking values of variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-09-02 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (19 votes), past polls