Joseph Paish wrote:
i am using packages to break up a large piece of code into smaller pieces so
it is easier to maintain.
the following piece of code works :
-- this code loads the package
#!/usr/bin/perl -w
use strict ;
# call the packaged code
require '/path/to/package/PackageName
On Friday 18 June 2004 09:57, Randy W. Sims wrote:
> Joseph Paish wrote:
-- a bunch of stuff deleted
> > i am using packages to break up a large piece of code into smaller pieces
>
> I'm not sure what you're trying to accomplish. If you are going to have
> no subroutines or variables defined for
Joseph Paish wrote:
i am using packages to break up a large piece of code into smaller pieces so
it is easier to maintain.
the following piece of code works :
-- this code loads the package
#!/usr/bin/perl -w
use strict ;
# call the packaged code
require '/path/to/package/PackageName
i am using packages to break up a large piece of code into smaller pieces so
it is easier to maintain.
the following piece of code works :
-- this code loads the package
#!/usr/bin/perl -w
use strict ;
# call the packaged code
require '/path/to/package/PackageName.pl' ;
PackageName