in reply to Re: Re: Re: Re: my, my, my
in thread my, my, my
But, I discovered something else: my doesn't work right. With strict, I get an error that "global $α requires explicit package name" on the line that declares it lexical!
Without strict, it compiles, and the other code shows that it is indeed lexical.
—John#use strict; use warnings; use utf8; my $α= 5; my $Φ= 4; sub Φ { return $Φ; } package XX; $main::Φ= 33.33333; package main; print Φ;
Be sure to view as UTF-8 in your browser.
Cross reference: Unicode source code problem in 5.6.1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: my, my, my
by Thelonius (Priest) on Nov 18, 2002 at 17:44 UTC |