Adding the use statements to a different file
- From: vmalik@xxxxxxxxxxxxxxxxxxxx
- Date: Mon, 28 Nov 2005 12:16:21 -0500
Hi,
I have to write several perl scripts with a number of modules included.
Therefore, I have to type many "use" statements at the top of each script. Is
there a way to dump all these "use" statements in a different file and then just
include that file everytime I have to include these "use" statements?
I know that writing a module is a great way to do something like that, but
doesn't a module export variables and subroutines? How can I make a module
export "use" statements?
Thanks.
Vishal
----------------------------------------
This mail sent through www.mywaterloo.ca
.
- Follow-Ups:
- Re: Adding the use statements to a different file
- From: Shawn Corey
- Re: Adding the use statements to a different file
- Prev by Date: Re: You've read the Llama, now what?
- Next by Date: Re: Pattern Matching Question
- Previous by thread: Pattern Matching Question
- Next by thread: Re: Adding the use statements to a different file
- Index(es):
Relevant Pages
|
|