Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 avoiding work at the Monastery: (9)
As of 2015-07-30 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls