develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [PATCH] making Exporter simpler to use

Thread Previous | Thread Next
Graham Barr
February 12, 2003 14:40
Re: [PATCH] making Exporter simpler to use
Message ID:
On Wed, Feb 12, 2003 at 09:54:29PM +0000, Fergal Daly wrote:
> That said I actually think the nicest thing about it is that exporting just a 
> couple of symbols can be done in 1 line instead of 4,

Well with recent perls it can be done in two without the code bloat

  use base qw(Exporter);
  our @EXPORT = qw(symbols);


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About