Re: RFC 257 (v1) UNIVERSAL::import()

2000-09-19 Thread John Porter
Michael G Schwern wrote: > Would anyone find it useful to have a UNIVERSAL method which reports > on what sybols a given module exports? I don't see any reason why this should be anything other than a module. A module in the core, if it's that important. -- John Porter We're building

Re: RFC 257 (v1) UNIVERSAL::import()

2000-09-19 Thread Nathan Wiger
Michael G Schwern wrote: > > Would anyone find it useful to have a UNIVERSAL method which reports > on what sybols a given module exports? For example: > With an argument, it would be analgous to can(): > > print "Yes" if Foo->exports('this'); If exports() could take arbitrary symbols

Re: RFC 257 (v1) UNIVERSAL::import()

2000-09-19 Thread Michael G Schwern
Would anyone find it useful to have a UNIVERSAL method which reports on what sybols a given module exports? For example: package Foo; @EXPORT = qw(this @that); @EXPORT_OK = qw($up down); # this, @that, $up, down print join ", ", Foo->exports; With an arg

RFC 257 (v1) UNIVERSAL::import()

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE UNIVERSAL::import() =head1 VERSION Maintainer: Michael G Schwern <[EMAIL PROTECTED]> Date: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 257 Version: 1 Status: Developing =head1 ABSTRACT