Re: Using strict and getting return values

2002-03-04 Thread Jonathan E. Paton
--- Dermot Paikkos <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > I am trying to get tidy with my scripts and want to > use Strict Use lowercase for strict! Anything else will cause havoc. > but am having difficulty with return values from > subroutines. I have the following snippet: > > whi

RE: Using strict and getting return values

2002-03-04 Thread Jason Larson
> -Original Message- > From: Dermot Paikkos [mailto:[EMAIL PROTECTED]] > Subject: Using strict and getting return values > > Hi Gurus, Well, I'm definitely not a guru, but I think I might be able to help... :) > > I am trying to get tidy with my scripts and

Using strict and getting return values

2002-03-04 Thread Dermot Paikkos
Hi Gurus, I am trying to get tidy with my scripts and want to use Strict but am having difficulty with return values from subroutines. I have the following snippet: while (defined(my $i =<$fh>)) { chomp($i); my @a = split(/|/,$i); my $last = $a[1]; my $first = $a[0]; if (