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

Re: Re: Re: Sometimes it's in Void Context

by JayBonci (Curate)
on Jun 01, 2002 at 02:01 UTC ( [id://170867]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       $lines[0]       = [ 3,2,1 ];
    
  2. or download this
       print    $lines[0][ 3,2,1 ];
    
  3. or download this
      print scalar(4,5);
    jaybonci@starlite:~/perl/pm$ ./array.pl 
    Useless use of a constant in void context at ./array.pl line 6.
    5jaybonci@starlite:~/perl/pm$
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found