I thought I already knew a few things about Perl, but I just found out I don't: #!/usr/bin/perl -w use strict; use diagnostics; my $a="27"; doit(); sub doit{ print "$a\n"; }
The output of this program is: 27 Just what I would expect if line 4 had "our" instead of "my". What am I missing? TIA. -- Jorge Almeida -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>