Re: Package/modual question -- more

2005-07-25 Thread Luinrandir
Ok.. thats what I thought... thanks Lou .. in my 5 year mission to wrap my brain around perl. - Original Message - From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> To: "Luinrandir" <[EMAIL PROTECTED]> Cc: Sent: Monday, July 25, 2005 2:27 PM Su

Re: Package/modual question -- more

2005-07-25 Thread Jeff 'japhy' Pinyan
On Jul 25, Luinrandir said: Question 1: should this be a package.pl or a modual.pm? If you want to be able to source the file via the use ModuleName; then the file must end in '.pm'. Question 2: so I need to require 'package.pl'; but use 'modual.pm'; The syntax is use ModuleName; w

Package/modual question -- more

2005-07-25 Thread Luinrandir
Hallo again BTW I am referencing "Perl, read less learn more" Pg170 to 177 ok I found one problem... I did not have package::subroutine(); in the main program... now it works, sorta... I need to pass data to and from the packages. Question 1: should this be a package.pl or a modual.pm? Question