Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: use the cut function in a script

by Polyglot (Monk)
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~


Comment on Re: use the cut function in a script
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-08-28 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls