Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 exploiting the Monastery: (13)
As of 2015-07-07 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls