Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Unable to extract matched string from input

by hdb (Prior)
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.


Comment on Re: Unable to extract matched string from input
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-09-01 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (367 votes), past polls