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

Re: Build your array with push

by demerphq (Chancellor)
on Jan 31, 2006 at 14:35 UTC ( [id://526758]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @folk = qw(Hibbs Daglish Schwartz Vroom),
               "Node Reaper";
    ...
    my @folk = map {s/_/ /g; $_}
               qw(Hibbs Daglish Schwartz Vroom
                  Node_Reaper);
    
  2. or download this
    my @folk = (qw(Hibbs Daglish Schwartz Vroom),
               "Node Reaper");
    ...
    my @folk = map {(my $s=$_)=~s/_/ /g; $s}
               qw(Hibbs Daglish Schwartz Vroom
                  Node_Reaper);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-28 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found