Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 examining the Monastery: (5)
As of 2014-12-28 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls