Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: my $x or my ($x)

by sgifford (Prior)
on Apr 04, 2006 at 15:31 UTC ( #541166=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -le 'my $x = localtime; print $x'
    Tue Apr  4 11:25:49 2006
    
    $ perl -le 'my($x) = localtime; print $x'
    52
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    my(@l) = test;
    print "l=@l\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-25 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls