Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Join and Concatenation

by LanX (Canon)
on Sep 13, 2013 at 18:31 UTC ( #1053993=note: print w/ replies, xml ) Need Help??


in reply to Join and Concatenation

it's b/c concat has higher operator precedence, using B::Deparse reveals it

DB<234> dp $cols = '[' . join '],[',@array . ']'; { ($cols = ('[' . join('],[', (@array . ']')))); }

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re: Join and Concatenation
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053993]
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: (12)
As of 2014-09-30 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (384 votes), past polls