Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Declaring my $var versus declaring my($var)

by ikegami (Patriarch)
on Jun 10, 2011 at 14:48 UTC ( [id://909144]=note: print w/replies, xml ) Need Help??


in reply to Declaring my $var versus declaring my($var)

The only difference between my $x and my ($x) is when it's found on the LHS of a "=". See Mini-Tutorial: Scalar vs List Assignment Operator for how it affects the assignment.

There is no difference between my ($x) and (my $x) except that my ($x, $y) is shorter than (my $x, my $y).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2026-04-10 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.