Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Multiple / Mapping Search and Replace

by jwkrahn (Abbot)
on Mar 17, 2009 at 22:19 UTC ( [id://751295]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                chomp $_;
    
    ...
                if ($array[0] eq "") {
                    shift (@array)
                }
    
  2. or download this
                # Split the line by whitespace
                my @array = split;
    
  3. or download this
                while (<@array>) {
    
  4. or download this
                while (glob join $", @array) {
    
  5. or download this
                foreach (@array) {
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found