Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: use the cut function in a script

by Polyglot (Pilgrim)
on May 21, 2009 at 05:34 UTC ( #765383=note: print w/replies, xml ) Need Help??


in reply to use the cut function in a script

Just for the sake of education, here's another regexp method that would focus on those tags:
foreach $line(@source_array) { $line =~ s/<.*?>//g; push @target_array, $line; }

Blessings,

~Polyglot~

Replies are listed 'Best First'.
Re^2: use the cut function in a script
by Anonymous Monk on May 21, 2009 at 06:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://765383]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-12-03 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (57 votes). Check out past polls.