Re: correct way to write my own packages

2004-06-18 Thread Randy W. Sims
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

Re: correct way to write my own packages

2004-06-18 Thread Joseph Paish
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

Re: correct way to write my own packages

2004-06-18 Thread Randy W. Sims
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

correct way to write my own packages

2004-06-18 Thread Joseph Paish
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