in reply to Re: Easiest way to find all the Perl Modules on a system?
in thread Easiest way to find all the Perl Modules on a system?
Update 2: I am not sure why, but this still seems odd to me. Perhaps it is because I have less than 30 hours to wait before starting a 3 week vacation. I wonder how the following two examples would behave (i.e. how they are scoped):
while (my $file = next_file()) { print "$file\n"; } sub next_file { <*> }
while (my $file = next_file()) { print "$file\n"; my $next = <*>; last if ! defined $next; print "$next\n"; } sub next_file { <*> }
Cheers - L~R
|
|---|