Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: print failing to output anything

by castaway (Parson)
on Nov 12, 2003 at 19:09 UTC ( [id://306601]=note: print w/replies, xml ) Need Help??


in reply to print failing to output anything

Back to the task at hand...

Can you show us some sample input to this? If its not outputting anything, then clearly the input you're using isnt matching your regular expressions.

Also, 2 of those print statement lines are incorrect, you are missing a space between the 'OUTFILE' and the actual output, which won't work as you intend.

You should probably add a 'use warnings;' to the top of this, which will catch that error, and possibly some others as well.

C.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found