Re: include file help request

2001-03-06 Thread Ron Grabowski
> i have used the code below in linux and it works fine but on porting to > win32 it's a problem What is the problem? > eval `cat tele.conf`; C:\>cat The name specified is not recognized as an internal or external command, operable program or batch file. Try this instead: require "tele.conf";

RE: include file help request

2001-03-06 Thread Peter Eisengrein
you probably want to change -f to -e and it should work. -Original Message- From: David Armstrong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 2:53 PM To: [EMAIL PROTECTED] Subject: include file help request Could anyone please show how to include another perl file used as a

RE: include file help request

2001-03-06 Thread Cornish, Merrill
First of all, 'cat' isn't a Win32 utility. If tele.conf is a Perl script, try this: * rename it to .pm (e.g. tele_conf.pm); * add a line at the bottom of the file that is just 1; * in your main put use tele_conf; This will probably result in Perl complaining that it couldn't

RE: include file help request

2001-03-06 Thread Peter Guzis
If tele.conf is straight perl code, try: require "tele.conf"; Peter Guzis Web Administrator, Sr. ENCAD, Inc. email: [EMAIL PROTECTED] www.encad.com -Original Message- From: David Armstrong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: i