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