Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-01-27 21:15 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (71 votes). Check out past polls.