Jan Dubois <[EMAIL PROTECTED]> writes:
> Run the following code and you'll see the difference. :-)
> (Not that I'm claiming that this feature is actually used in ppm, just that
> there is a difference between assignment and aliasing).
Yes, this was was I meant. It didn't seem to me that ppm used the
typeglob in any meaningful way. That's why I thought simple assignment
would have sufficed (even though I knew the two were different). But
thanks for your illuminating example.
> >And Thanks for enlightening me on the use of `our'. Does this now mean
> >that in a typical module, instead of:
> >
> > use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
> >
> >we'll see:
> >
> > our ($VERSION @ISA @EXPORT @EXPORT_OK); ?
>
> Yes, but only in modules that don't need to be backwards compatible with
> earlier versions of Perl. The core modules bundled with Perl 5.6 have been
> changed in the way you indicate.
Of course, when I install build 613, I'll be able to see this for
myself. :-)
And I believe that I forgot the commas:
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK);
--David
---
You are currently subscribed to perl-win32-users as: [[email protected]]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]