Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

batch 'use' possible?

by exilepanda (Friar)
on May 09, 2013 at 02:26 UTC ( [id://1032710]=perlquestion: print w/replies, xml ) Need Help??

exilepanda has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

Recently I am writing lot of CGI scripts and I've quite boring to start every new script by the same 10 more use statement for calling the same sort of modules. Is that possible to use My::StandardStarter;(for example) and My::StandardStarter will help me to load the same sort of modules so I don't need to repeat those use statement from time to time ?

Replies are listed 'Best First'.
Re: batch 'use' possible? (perl5.pm Toolset.pm, Syntax::Collector , Toolkit.pm, rig.pm, sitecustomize.pl, PERL5OPT )( load multiple commonly-used favorite modules in a single import expression )
by Anonymous Monk on May 09, 2013 at 03:46 UTC
      BIG THANKS! Thaz what I am looking for! Works perfectly! =)

        BIG THANKS! Thaz what I am looking for! Works perfectly! =)

        Which one did you use?

Re: batch 'use' possible?
by GrandFather (Saint) on May 09, 2013 at 03:45 UTC

    Have you tried it? Did it work? Did it take more or less time trying it out for yourself than it did to write up your question and wait for an answer?

    True laziness is hard work
      Honestly I didn't try it, as I perceived this is kind of syntactical issue that I don't know how to write that "line". I want to google, but I don't even know how to call this in a proper term. But after all, I think I should mention this within my original post. Thanks for point out

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found