> > Why are you creating these regexes so far from
> where
> > they are used?
> > If you are going to do this at least give them
> > meaningful names.


I dont have a good reason Chas other than I like the
ability to easily change the variable in one spot in
case of future use.
If this is not a good reason, then guess it is
style.
:)
> 
> > 
> > use the three argument version of open, if you
> don't
> > you will
> > eventually be bitten by a file name that contains
> > information that
> > open thinks is part of the mode:
> > 
> > open JFS, "+<", $jfsFile or die "file '$jfsFile'
> was
> > not opened $!";
> > 
> > Also, you may consider using lexical varaibles
> > instead of bareword file handles:
> > 
> > open my $jfs, "<", $jfsFile or die "file
> '$jfsFile'
> > was not opened $!";
> 
> > it is easy to misread "if !" so use unless
> instead. 
> > Also length works
> > on $_ if no argument is passed to it.
> > 
> > next unless length;
> 
> 
All is understood and well taken. 
thx 

 purrrr....  

Oryan the Cat [[derek]] .
 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Reply via email to