Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Grep arrays

by davido (Archbishop)
on Feb 22, 2013 at 18:51 UTC ( #1020207=note: print w/replies, xml ) Need Help??


in reply to Grep arrays

One issue is opening the output file inside the loop and closing it outside the loop. Move the 'open' to before the loop. Also at the top of your script place the following line:  use autodie; .

But to give an effective answer to your question we would need to know how the code you posted is failing, as well as see a brief sample of the input files. Phrasing it in the form of a question may add clarity as well.


Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020207]
help
Chatterbox?
[karlgoethebier]: holli: total underestimation of Keith...
[karlgoethebier]: ...a common mistake ;-)
[LanX]: a "tone deaf" is the word I was looking for.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-12-13 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (375 votes). Check out past polls.

    Notices?