Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: my $var = join('|',@array) not behaving

by ikegami (Patriarch)
on May 09, 2008 at 07:16 UTC ( [id://685614]=note: print w/replies, xml ) Need Help??


in reply to Re^2: my $var = join('|',@array) not behaving
in thread my $var = join('|',@array) not behaving

such that without parentheses, only the first element of the list gets assigned.

Since we're being picky about the language, the list being assigned only has one element, so it's odd to refer to its first element. The assignment is the first element of the larger list.

  • Comment on Re^3: my $var = join('|',@array) not behaving

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2026-04-13 20:04 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.