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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Using use Strict;



Nov 20, 2002, 9:37 AM

Post #1 of 2 (578 views)
Using use Strict; Can't Post

I've programmed Perl for a while but have never had a reason to use Strict; before. Im trying to get it to work with a script I currently have but am having trouble. I do understand that undefined variables will result in an error but I just need a bit of direction:

a) does Perl on NT function with Strict; ?

b) What is Strict really looking for, is it just variables?

Im asking this because I dont have any access to error logs so all I get is an error message via the browser and I have no clue what went wrong or on what line.

Thanks for the help


Nov 20, 2002, 9:52 AM

Post #2 of 2 (577 views)
Re: [Fred123] Using use Strict; [In reply to] Can't Post

a) It's "strict", not "Strict".
b) The strict pragma works on every platform perl runs on, AFAIK.
c) Try perldoc strict to see what strict does, or use this link:


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

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