Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Kenosis (Priest)
on Oct 08, 2012 at 15:56 UTC ( #997844=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @items = $str =~ /\w+/g;
    
    print "$_\n" for @items;
    
  2. or download this
    item1
    item2
    item3
    item4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997844]
help
Chatterbox?
[Discipulus]: marto also Re^2: Catalyst:: Dispatcher - usage of expand_actions has signature polemic, and yesterday was quoted in CB
[marto]: Discipulus concerned partys should report things. as tye mentioned in his post (linked in the other thread from yesterday) there is an approach and strategy for such things

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-06-23 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (538 votes). Check out past polls.