Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: What CPAN modules are "good reads"?

by perrin (Chancellor)
on Jun 21, 2005 at 14:08 UTC ( [id://468680]=note: print w/replies, xml ) Need Help??


in reply to Re^5: What CPAN modules are "good reads"?
in thread What CPAN modules are "good reads"?

You're right, the work being done by import() is pretty useful, but it could be done somewhere else -- maybe setup(), or a separate call. For example:
package MyApp; use strict; use warnings; use base 'Catalyst'; MyApp->config( home => '/path/to/my/home', root => '/path/to/my/home/root' ); MyApp->setup(qw/-Debug -Engine=HTTP Email Static/); 1;

Replies are listed 'Best First'.
Re^7: What CPAN modules are "good reads"?
by sri (Vicar) on Jun 21, 2005 at 14:13 UTC
    Muahaha...funny, you just found out how the Perl6 port of Catalyst handles this! :)
Re^7: What CPAN modules are "good reads"?
by Hansen (Friar) on Jun 28, 2005 at 16:39 UTC

    The above syntax will work with next release of Catalyst, in addition to the 'old' way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-23 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found