One more thing, those loops I was telling you about, just using a pair
of brackets, also keep their scope.  It's a good way to clean up with
yourself, i.e. 

my $foo = 40;
{
  my $foo = 50;
  print $foo; # prints 50
  # garbage collector called on all declarations before here
}
print $foo; # prints 40

Also:

use strict;
use warnings;

Should ALWAYS be at that op of your scripts until you know enough Perl
to know when to bend or break this rule.

-Dan


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


Reply via email to