On 9/19/07, Ruprecht Helms <[EMAIL PROTECTED]> wrote:
> Chas Owens wrote:
> > On 9/19/07, Ruprecht Helms <[EMAIL PROTECTED]> wrote:
> >> #!/usr/bin/perl
> >
> > First off, you should use the strict and warnings pragmas.  So the
> > first two lines after the $! should be
> >
> > use strict;
> > use warnings;
>
> ...
>
> I inserted the two commands and get now these errors.
snip

Yes, those two pragmas will highlight a lot of errors and bad
practices in your code; that is why you should use them.  As for how
to fix them and what your original program was doing wrong, please
look at the rest of my last email.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to