use strict; use warnings; use Data::Dumper; my @parse= qw (<NumData>1234</NumData> <NumData>543535<NumData>); my @parse_out=map{ $1 if (/>(\d+)</) }@parse; print Dumper @parse_out;
In reply to Re: use the cut function in a script
by leslie
in thread use the cut function in a script
by raghu_shekar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |