Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: ORDER BY COUNT(*)?

by redsquirrel (Hermit)
on Mar 20, 2002 at 18:13 UTC ( [id://153054]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re: Re: Re: Re: ORDER BY COUNT(*)?
by 2mths (Beadle) on Mar 21, 2002 at 11:03 UTC
    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.

Re: Re: Re: Re: ORDER BY COUNT(*)?
by peppiv (Curate) on Mar 20, 2002 at 19:52 UTC
    Will do. Thanks.

    peppiv

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found