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

RE: include file help request

2001-03-06 Thread Cornish, Merrill
, 2001 1:53 PM > To: [EMAIL PROTECTED] > Subject: include file help request > > Could anyone please show how to include another perl file used as a > configuration script > i have used the code below in linux and it works fine but on porting to > win32 it's a pro

RE: include file help request

2001-03-06 Thread Peter Guzis
D] Subject: include file help request Could anyone please show how to include another perl file used as a configuration script i have used the code below in linux and it works fine but on porting to win32 it's a problem if (-f "tele.conf") { eval `cat tele.conf`; } else { print "

include file help request

2001-03-06 Thread David Armstrong
Could anyone please show how to include another perl file used as a configuration script i have used the code below in linux and it works fine but on porting to win32 it's a problem if (-f "tele.conf") { eval `cat tele.conf`; } else { print "Couldn't find file tele.conf in current directory.\n";