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

Re: Beginner needs more help

by azatoth (Curate)
on Jun 14, 2001 at 15:06 UTC ( [id://88355]=note: print w/replies, xml ) Need Help??


in reply to Beginner needs more help
in thread Syntax Error Messages (was: Beginner needs help (in more ways than one !))

Ok, for starters, you should always post any updates in the original thread.

Secondly, we urged you to use strict and use warnings or the -w switch.

Also, try using the OO-type interface for setting up filehandles and see if this gives you any joy :
my $fh = FileHandle->new(">$file");

Update: Duh, once again I can't see the woods for the trees. Thanks davorg for pointing this out :)

Update #2 : As a pitiful attempt to save face, I would suggest using which perl command as opposed to perl -v, to ensure your shebang contains the correct path to your perl. (Maybe that will stop the downvotes :P)

Azatoth a.k.a Captain Whiplash

Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?

Replies are listed 'Best First'.
Re: Re: Beginner needs more help
by davorg (Chancellor) on Jun 14, 2001 at 15:14 UTC

Log In?
Username:
Password:

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

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

    No recent polls found