Include files in PERL

2002-11-05 Thread Johnstone, Colin
Gidday from downunder, When writing PHP if I want to an include I type include("filename.php"); Is there a similar command in PERL, does require do the job? In my mailing list application I re-use numerous functions and would like to pop these in a function library and include them on every pag

RE: Include files in PERL

2002-11-05 Thread Timothy Johnson
$text; # This prints "H e l l o W o r l d !". -Original Message- From: Johnstone, Colin [mailto:Colin.Johnstone@;det.nsw.edu.au] Sent: Tuesday, November 05, 2002 7:17 PM To: '[EMAIL PROTECTED]' Subject: Include files in PERL Gidd

RE: Include files in PERL

2002-11-05 Thread Johnstone, Colin
Thanks Tim, I'll give it a whirl. Colin -Original Message- From: Timothy Johnson [mailto:tjohnson@;sandisk.com] Sent: Wednesday, November 06, 2002 14:47 To: Johnstone, Colin; '[EMAIL PROTECTED]' Subject: RE: Include files in PERL I think 'use' is what you

RE: Include files in PERL

2002-11-05 Thread Aman Thind
nsertSpaces("Hello World!"); print $text; # This prints "H e l l o W o r l d !" too. Take your pick :) Thanks Aman -Original Message- From: Timothy Johnson [mailto:tjohnson@;sandisk.com] Sent: Wednesday, November 06, 2002 9:17 AM To: 'Johnstone, Colin&#x