[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] @EXPORT = qw(?????)



At 13.02 97/5/23, Laurent Bardi wrote:
>Well the subject says all! When i create a package, how many sub can i
>export?

As many as you want, I think ...

>Can i write more than one line @EXPORT = qw() in order to have more
>readable code ???

You can put any amount of lines in an array.  Whitespace doesn't matter
with qw(), so put in as many lines and tabs and spaces as you want to make
it readable.

Hope that helps,

--
Chris Nandor                 pudge@pobox.com                 http://pudge.net/
%PGPKey=('B76E72AD',[1024,'08 24 09 0B CE 73 CA 10  1F F7 7F 13 81 80 B6 B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch