Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re(2): using strict and functions

by dmmiller2k (Chaplain)
on Jan 18, 2002 at 08:57 UTC ( #139748=note: print w/ replies, xml ) Need Help??


in reply to Re: using strict and functions
in thread using strict and functions

Sorry to nitpick but you can do either this:

    use vars qw($var1 @array2);

or this:

    use vars ( '$var1', '@array2' );

but using a comma within a qw() list includes the comma in whatever word(s) it touches.

Other than that, ++!

dmm

If you GIVE a man a fish you feed him for a day
But,
TEACH him to fish and you feed him for a lifetime


Comment on Re(2): using strict and functions
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-09-19 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls