Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Unable to extract matched string from input

by hdb (Monsignor)
on Sep 25, 2013 at 10:27 UTC ( #1055648=note: print w/replies, xml ) Need Help??


in reply to Unable to extract matched string from input

Try to use the third argument to split like this

my( $chr, $start, $end, $description ) = split( /\s+/ , $annotation_li +ne, 4 );

This way, $description will contain all of the remaining line and not only up to the next whitespace.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055648]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2017-09-24 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (273 votes). Check out past polls.

    Notices?