On Jan 23, 2008 10:34 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
snip
> >>    use strict 'vars';
> >>    my $name = 'data';
> >>    print foreach  @$name;
snip
> Don't think so, Chas. It's
>
>      use strict 'refs';
>
> that captures symbolic references, not 'vars'.
snip

He was referring to the fact that @data is not fully qualified and has
not been declared (and would generate an error but for the fact that
"vars" runs at compile time), not the fact that it is a symbolic
reference.

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


Reply via email to