Home > Archive > PERL Beginners > July 2006 > Splitting a script into multiple files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Splitting a script into multiple files
|
|
| Martin Tournoij 2006-07-26, 6:57 pm |
| Hi there,
I started with perl yesterday, and everything is going great so far.
A bit to great I'm afraid, my perl script is getting rather large, this it
getting a bit of a problem.
My laptop, on which I do all my Programming/Developing/Writing, is quite
old, and also quite slow, and vim is getting slower with every line I
add....
Is there some way to easily split my project up into several files?
something like php include()/require()?
I searched the perl documentation and CPAN database back and forth, but
they all said I had to make modules, compile my script, or do other
relative complicated stuff.
Did I simple miss something in the documentation or is this not possible
in perl?
Thanks for reading
Martin
| |
| Timothy Johnson 2006-07-26, 6:57 pm |
| Check out 'perldoc -f do'.
Also, get a new laptop. :)
-----Original Message-----
From: Martin Tournoij [mailto:carpetsmoker@gmail.com]=20
Sent: Wednesday, July 26, 2006 10:05 AM
To: beginners@perl.org
Subject: Splitting a script into multiple files
<snip>
My laptop, on which I do all my Programming/Developing/Writing, is quite
old, and also quite slow, and vim is getting slower with every line I =20
add....
Is there some way to easily split my project up into several files? =20
something like php include()/require()?
<snip>
| |
| Martin Tournoy 2006-07-26, 6:57 pm |
| Great, thanks for the fast reply.
I kindly accept all donations for a new laptop
On 26/07/06, Timothy Johnson <tjohnson@us.checkpoint.com> wrote:
> Check out 'perldoc -f do'.
>
> Also, get a new laptop. :)
>
>
>
> -----Original Message-----
> From: Martin Tournoij [mailto:carpetsmoker@gmail.com]
> Sent: Wednesday, July 26, 2006 10:05 AM
> To: beginners@perl.org
> Subject: Splitting a script into multiple files
>
> <snip>
>
> My laptop, on which I do all my Programming/Developing/Writing, is quite
>
> old, and also quite slow, and vim is getting slower with every line I
> add....
>
> Is there some way to easily split my project up into several files?
> something like php include()/require()?
>
> <snip>
>
>
>
|
|
|
|
|