* Torsten Schoenfeld <[EMAIL PROTECTED]> [2005-02-24 18:15]:
> > use constant Gst=>'Multimedia::Gstreamer';
> >
> > Gst->new(....);
>
> I just realized that this won't work. I don't just need Gst to
> be an alias for Media::GStreamer, I need Gst::* to be an alias
> for Media::GStreamer::*. That also seems to rule out the
> aliased.pm approach.
Why? Sure, you need many constants, not just one, but does that
matter?
Something that doesn't seem to have come up in debate here is
that the distribution and main module namespace need not dictate
the package names for classes. You could well stick everything in
Gst:: even though your modules are called Media::GStreamer(::.*)?.
Is this a bad idea even if it's clearly documentent?
Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;