Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Dereferencing and context?

by graff (Chancellor)
on Feb 09, 2004 at 00:41 UTC ( [id://327526]=note: print w/replies, xml ) Need Help??


in reply to Re: Dereferencing and context?
in thread Dereferencing and context?

or equivalently:
my $string = join '', @$_ for @AoA;
my $string = ''; $string .= join '', @$_ for @AoA;
update: it has to be ".=", not just "=", with $string scoped/declared outside the for loop, in order to get all the elements. (thanks to Zaxo for pointing out the mistake)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found