Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: use the cut function in a script

by Polyglot (Chaplain)
on May 21, 2009 at 05:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://765383]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found