Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: use the cut function in a script

by leslie (Pilgrim)
on May 21, 2009 at 11:54 UTC ( [id://765433]=note: print w/replies, xml ) Need Help??


in reply to use the cut function in a script

Dear firend,
You can use this bellow code.
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://765433]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-26 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found