CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [marco] My small script is not working. Can you help me ?: Edit Log



thodi
stranger

Jan 26, 2003, 1:55 AM


Views: 6283
Re: [marco] My small script is not working. Can you help me ?


In Reply To
open (PASSFILE, "<$passfile") {&lock} or die ("Unable to open the password file");

There is a syntax error. You can check your script for syntactical correctness by running "perl -c scriptname".

lock() can also be the name of a builtin Perl function, so it would be better to think of another name for that sub.

And please use the code (or the perl tag, which I only just saw now :-)) tag for posting code: http://perlguru.com/gforum.cgi?do=markup_help;


(This post was edited by thodi on Jan 26, 2003, 1:58 AM)


Edit Log:
Post edited by thodi (stranger) on Jan 26, 2003, 1:58 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives