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



KevinR
Veteran


Mar 23, 2009, 2:36 PM


Views: 9839
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