Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: failure to generate report file

by quester (Vicar)
on Mar 05, 2008 at 07:22 UTC ( [id://672114]=note: print w/replies, xml ) Need Help??


in reply to failure to generate report file

Actually, I'm not sure. When I run your script the report file contains this line:
REFS 133714761: occurrences at 1168473601and 1168477626
(You might want to throw in a space before the "and".)

Just possibly, when your script runs it might not have the correct permissions to create a new file in the current directory.

Replies are listed 'Best First'.
Re^2: failure to generate report file
by tuakilan (Acolyte) on Mar 05, 2008 at 07:35 UTC
    i used root profile to run the script :(
      Strange... when you run it, does it print that line to standard output? When I run your script, it looks like this...
      $ perl -w temp18.pl found: 2 1168473601 133714761 found: 3 1168473601 595131400 found: 5 1168473602 595191883 found: 8 1168473604 006456768 found: 10 1168477626 133714761 REFS 133714761: occurrences at 1168473601 and 1168477626 $ cat report.2008-01-11.txt REFS 133714761: occurrences at 1168473601and 1168477626

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found