Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: how to use join my array ?

by Bloodnok (Vicar)
on May 01, 2014 at 10:22 UTC ( [id://1084599]=note: print w/replies, xml ) Need Help??


in reply to how to use join my array ?

I'm not sure that I fully understand the question, but ... is this something like what you're after-
foreach my $z ( %abc) { push @ab, "-$z"; }
or possibly @ab = map { "-$_" } @ab; ??

foreach my $z (keys %abc) { push @ab, "-$z"; }
or possibly @ab = map { "-$_" } keys %abc; ??

Update 1:

In fact I misunderstood the question so much as to provide complete and utter drivel as a reply - doh!!!

Update 2:

Attempted to provide a more meaningful and possibly half-sensible, reply.

A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

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

    No recent polls found