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: Beginner: Re: [terry1738] subroutines: Edit Log


Mar 23, 2009, 2:36 PM

Views: 10791
Re: [terry1738] subroutines

if you are using strict lines like this will no fly:

my $wsaler = dft;

only digits (and constants, but you're not using anyconstants) can be left unquoted, should be:

my $wsaler = 'dft';

and if you're not using strict, and your program is more than a few lines long, I hope you never make a typo.

(This post was edited by KevinR on Mar 23, 2009, 2:38 PM)

Edit Log:
Post edited by KevinR (Veteran) on Mar 23, 2009, 2:38 PM

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

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