Make sure the file is using unix EOL (at least the shebang line)
This may not be obvious depending on which editor you're using;
a windows EOL may have crept in there.
-
Graham

Steve Johnson wrote:

>>I've had a similar problem with some scripts we have on some of our servers
>>here.  I don't think the problem is related to ColdFusiuon, I couldn't even
>>run a script on the command line if the first line of the file didn't have
>>the  -w parameter.  I think it would work with other parameter, too, it
>>just needed something.  Maybe someone else has an idea what the problem is,
>>I'd like to get it figured out.
>>    
>>
>
>i use a CFEXECUTE call to run a Perl script (to do CyberCash stuff 
>since CFX_CyberCash doesn't work with CFMX) and it doesn't need the 
>-w.  this is on the unsupported combo of CFMX, RH7.3 and Perl 5.6.1. 
>the first part of the script says:
>
>#!/usr/bin/perl
>require 5.005;
>
>and dumb question - but i'm assuming the Perl script has execute 
>privs turned on?  have you tried it with something really simple like:
>
>#!/usr/bin/perl
>print "howdy\n";
>
>?
>
>steve
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to