Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[LanX]: wot wot?
[thezip]: W0t n0t
[perldigious]: w4st3 n0t w0t n0t

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2017-03-24 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (305 votes). Check out past polls.