Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: my $x or my ($x)

by eff_i_g (Curate)
on Apr 04, 2006 at 15:35 UTC ( #541168=note: print w/ replies, xml ) Need Help??


in reply to Re^3: my $x or my ($x)
in thread my $x or my ($x)

Just a quick addition to ptum's. I would write:

my ($one, $two, $three, $four) = (0,0,0,0);
as
my ($one, $two, $three, $four) = (0) x 4;


Comment on Re^4: my $x or my ($x)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2015-07-07 15:34 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 (90 votes), past polls