Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Unable to extract matched string from input

by hdb (Parson)
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 romping around the Monastery: (17)
As of 2014-07-24 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (162 votes), past polls