he
correct URL is above. Sorry for the confusion.
R.
> - Original Message -
> From: "Chas Owens" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 21, 2001 8:23 PM
> Subject: Re: tutorial on my/our/use/package/local
>
>
> >
On Thu, Jun 21, 2001 at 01:56:31PM -0700, Randal L. Schwartz wrote:
> Ahh, I think I see the problem. The syntax for $foo actually means
> the variable $main::foo (when main is the current package), and
> $main::foo is a global variable, but $foo is a "local to the package"
> variable. So perlmo
> "Peter" == Peter Scott <[EMAIL PROTECTED]> writes:
Peter> At 12:13 PM 6/21/01 -0700, Randal L. Schwartz wrote:
Me> main is the name of a namespace.
>>
>> You might as well say "main is a noun". It's about as meaningful.
>> "main" is a package name, not a namespace. Packages distinguish t
At 12:13 PM 6/21/01 -0700, Randal L. Schwartz wrote:
>Me> main is the name of a namespace.
>
>You might as well say "main is a noun". It's about as meaningful.
>"main" is a package name, not a namespace. Packages distinguish the
>parts of a global symbol table, which is ONE namespace. $main::a
; > From: "Chas Owens" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 21, 2001 8:23 PM
> > Subject: Re: tutorial on my/our/use/package/local
> >
> >
> > > I just listened to the mp3 of it this morning, fas
(Skip to recap at end for important info!)
> "Me" == Me <[EMAIL PROTECTED]> writes:
Me> # $_ is in main.
>>
>> $_ is always in main, even if the current package is something else.
Me> Yes. I spent some time considering where this was
Me> best revealed, and wrote it in in various places a
I just listened to the mp3 of it this morning, fascinating stuff. It
almost makes me sad I started learning Perl now and not next year.
http://www.crystalflame.net/keynote.mp3
slide show:
http://www.yetanother.org/damian/Perl6/YAPC_talk.pdf
On 21 Jun 2001 08:32:49 -0700, Randal L. Schwartz wro
> Brutal critique enclosed... beware, I get right to the point. :)
Hmm, I enjoyed it, so I'm thinking I must
be more SM oriented than I thought...
> Me> # $_ is in main.
>
> $_ is always in main, even if the current package is something else.
Yes. I spent some time considering where this w
> "Jeff" == Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes:
Jeff> Damian dropped the bomb at YAPC. You'll be able to access the padlist,
Jeff> using a mechanism like C<$MY.foo>.
Ah, that's what happens when you spend a week at sea with Tim Bunce on
a Geek Cruise (www.geekcruises.com) instea
On Jun 21, Randal L. Schwartz said:
>Me> * In Perl 5, the package I call MY package is not often
>Me> called a package and can't be accessed in the same
>Me> way that other packages can be accessed. However,
>Me> in Perl 6, there will be a MY package, and, imo, it is
>Me> simpler to use the term
Brutal critique enclosed... beware, I get right to the point. :)
> "Me" == Me <[EMAIL PROTECTED]> writes:
Me> Unless you declare a name as being in some other
Me> package, a name is assumed to be in the main package:
Me> $_ = 1;
Me> # $_ is in main.
$_ is always in main, even if
11 matches
Mail list logo