>>>>> ""Chas" == "Chas Owens" <[EMAIL PROTECTED]> writes:

"Chas> ** here is the example for reference sake.
"Chas> #!/usr/bin/perl

"Chas> use strict;
"Chas> use warnings;

"Chas> {
"Chas>        my $i;
"Chas>        sub iter { return $i++ }
"Chas> }

"Chas> my $i = 5;
"Chas> print iter(), "\n";
"Chas> print iter(), "\n";
"Chas> print iter(), "\n";
"Chas> print iter(), "\n";

No, that would be broken.

Can we possibly derail this conversation even a bit more, please? :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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


Reply via email to