in reply to Re: Using a simple module without full package names
in thread Using a simple module without full package names

Many thanks!
I'd looked at it so long I would never have seen it. I now have to fix the head shaped dent in the wall!
Again, thanks
  • Comment on Re^2: Using a simple module without full package names

Replies are listed 'Best First'.
Re^3: Using a simple module without full package names
by fergal (Chaplain) on Jul 12, 2004 at 22:00 UTC
    It's good to be able to use Exporter and to understand it but I got bored typing the same old Exporter stuff over and over again, so I wrote Exporter::Easy. It turns
    use Exporter; use vars qw( @ISA @EXPORT ); @ISA = qw( Exporter ); @EXPORT = ( &get_msg );
    into
    use Exporter::Easiest q( EXPORT => &get_msg )
    and lots more.

    Updated: I should point out that it's still Exporter that does the exporting, Exporter::Easy just eliminates the mindless typing involved in setting up @EXPORT, especially if you use tags.

      Thanks for that. I'll have a look, wfsp