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

Re: How to call a function on each item after a split?

by 2teez (Priest)
on Oct 08, 2012 at 21:40 UTC ( #997882=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub clean
    {
    ...
        $_[0] =~ s/^\s+//g;
        $_[0] =~ s/\s+$//g;
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    }
    
    
  3. or download this
    item1
    item2
    ...
    item2
    item3
    item4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997882]
help
Chatterbox?
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: (7)
As of 2014-12-26 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls