in reply to File Can Not Write

Why can't I write this file

Does it open successfully? If not, what's the error? What's the output of your script?

In the error message (in case it doesn't open), I would include the name of the file (sometimes it might be a good hint as to what is going on).

And more importantly, why aren't you using strict?

Replies are listed 'Best First'.
Re^2: File Can Not Write
by loop362 (Pilgrim) on May 06, 2005 at 22:27 UTC
    Aloha, I didn't mean for this to get posted without the explanation I had but when I hit update it published accidently. I am still trying to find the best way to paste my code. I've read where I have to use
    so it will look half way decent. I use BBEdit to write scripts. I get no error from the script not even the bottom line prints to the screen. JWG
      I use BBEdit to write scripts.
      Begin to use code tags instead :)
      not even the bottom line prints to the screen
      I don't get the full meaning of this sentence, but I understand that you don't see the "I was Here!" message, correct? If so, your program is exiting at the die statement, but you don't see it in the browser - go look in the logs. If you want error messages be displayed in the browser, use CGI::Carp:
      use CGI::Carp qw(fatalsToBrowser);
      Now all fatal messages (triggered by die) will be output to the browser as well as the log file.

      Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

      Don't fool yourself.
      Then edit your original node...
      meh.