Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: ORDER BY COUNT(*)?

by peppiv (Curate)
on Mar 20, 2002 at 17:04 UTC ( #153026=note: print w/replies, xml ) Need Help??


in reply to Re: ORDER BY COUNT(*)?
in thread ORDER BY COUNT(*)?

Thanks redsquirrel I'll definitely read more. However, I do have -w in my #!/usr/bin/perl -w.

peppiv

Replies are listed 'Best First'.
Re: Re: Re: ORDER BY COUNT(*)?
by redsquirrel (Hermit) on Mar 20, 2002 at 18:13 UTC
    However, I do have -w in my #!/usr/bin/perl -w.
    The warning is being sent to your web server error log. You'll make sysamdin types happy by writing scripts that don't fill up error logs with gobbledy-gook every time someone executes your script.

    I have found it helpful to test CGI's from the command line using this command:

    perl -cw your_script.pl
    This will not execute the script, but will display many helpful warnings.

    --Dave

      Dunno how to quote people's stuff but...

      redsquirrel - Thankyou for your "perl -cw your_script.pl" pointer.

      Fortunately I am the sysadmin (my play/learning box) but I still don't want to fill my logs with rubbish. Just in case I ever need to review them.

      I would of course first have to work out where they acutally live but that is a moot point.

      Will do. Thanks.

      peppiv

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-11-17 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (205 votes). Check out past polls.

    Notices?