Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Array in scalar context.

by Roger (Parson)
on Oct 04, 2003 at 03:07 UTC ( [id://296458]=note: print w/replies, xml ) Need Help??


in reply to Array in scalar context.

No, you are not missing anything. In your print statement, perl automatically converts @foo to scalar(@foo) because of the join (.) operator in use.

Replies are listed 'Best First'.
Re: Re: Array in scalar context.
by the_0ne (Pilgrim) on Oct 04, 2003 at 03:52 UTC
    I understand now, thank you all.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://296458]
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 2024-04-24 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found