Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: How to print the lines immediately above and below a matching line?

by Anonymous Monk
on Nov 25, 2012 at 14:01 UTC ( #1005496=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How to print the lines immediately above and below a matching line?
in thread How to print the lines immediately above and below a matching line?

I'm sorry, I am a Biology student and I have merely had perl suggested to me as a means to an end in order to get my data into a usable format.

Right, and you're merely trying to write a perl program -- might as well learn the basics of the syntax, like what goes in a match operator is not an attempt to read from a filehandle -- you have to separate the steps

Are you sure an already written perl program, say something from the bioperl.org website wasn't suggested instead?


Comment on Re^5: How to print the lines immediately above and below a matching line?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2014-12-18 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (58 votes), past polls