On Tue, Jan 6, 2009 at 7:34 PM, Jason Elbaum <[email protected]> wrote:
>> To answer your question: your attempt ${"var$digit"} wold have worked
>> if $var1 were a package global and not a lexical.
>
> And if "use strict" is disabled - at least 'no strict "refs"'

Yes. Unlike the "my" "problem", Perl gives a useful error message for
this obstacle.

-- 
Gaal Yahas <[email protected]>
http://gaal.livejournal.com/
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to