Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: how to use join my array ?

by Bloodnok (Vicar)
on May 01, 2014 at 10:22 UTC ( #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
Node Status?
node history
Node Type: note [id://1084599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2020-10-24 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (242 votes). Check out past polls.

    Notices?