Are you running a redirector for squid?Where do you put these
scripts?Does Squid has privileges to access the scripts dir and run
the scripts?What did you see in cache.log?
the last,if you can post some codes here,it should be more helpful.
2007/10/12, Gregory Machin [EMAIL PROTECTED]:
Hi
I'm
ahhh nevermind it was a typo..
i hade 21 shoulda been 21 , dont know how that got changed and how i
didnt notice it sorry heh ;p
On Sun, 2003-09-07 at 06:24, Steve wrote:
hey, in my program im just trying to redirect the commands output but i
get the error:
sh: line 1: 1: command not found
In a message dated 6/16/03 11:35:03 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
I tried a couple of those ideas.
I put a BEGIN statement in the script I'm trying to open and
to my surprise
it's opened. I'm still getting Error: No such file or directory
The script is very
Try...
system(perl sendscript.pl);
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:27 PM
To: [EMAIL PROTECTED]
Subject: system function
I'm trying to execute a perl script with system(sendscript.pl);
I also tried
What happens when you include the path?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 11:27 AM
To: [EMAIL PROTECTED]
Subject: system function
I'm trying to execute a perl script with
system(sendscript.pl);
I also tried
--hrm.
--would
use Cwd;
--work for you? i know that i had
--silly problems like this and decided
--it try that just to make sure i was
--where i *thought* i was directory wise ...
-X
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003
I'm trying to execute a perl script with system(sendscript.pl);
I also tried exec(sendscript.pl);
Both of these return Error: No such file or directory
Put a ./ infront if it's unix.
1)Is it executable? - ls -l ./sendscript.pl
If not try:
exec(perl ./sedscript.pl)
I tried a couple of those ideas.
I put a BEGIN statement in the script I'm trying to open and to my surprise
it's opened. I'm still getting Error: No such file or directory
The script is very small and on a unix platform:
#!/usr/bin/perl
use CGI;
my$q = CGI::new();
print $q-header();
print
[EMAIL PROTECTED] wrote:
I'm trying to execute a perl script with
system(sendscript.pl);
I also tried exec(sendscript.pl);
Both of these return Error: No such file or directory
The sendscript.pl is in the same directory as the script.
What am I doing wrong?
If the program does not
I tried a couple of those ideas.
I put a BEGIN statement in the script I'm trying to open and
to my surprise
it's opened. I'm still getting Error: No such file or directory
The script is very small and on a unix platform:
#!/usr/bin/perl
use CGI;
my$q = CGI::new();
I think you
exec(sendscript.pl);
print Couldn't start sendscript.pl BRError: $!\n;
Oh yeah...
What is the out put of ls -l in that directory?
Is it .cgi and not .pl?
Is it spelled wrong? (IE It is actually SendScript.pl)
Try a ./ in front since that is what you'd have to type in to execute it.
Or perl
Ravinder Chauhan wrote:
After installing Perl 5.8 my @files = system(dir bex*.* /od /b) function
has started behaving strange. Under 5.6 this function used to return the
list of files for matching files, however now in place of file list it is
returning a number 65280. I would appreciate if
system (('tunctl',-u,$buf) | ('awk',print,$2) );
you can also try this
system (tunctl,-u,$buf | awk,print,$2 );
- Original Message -
From: Timothy Johnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 2:40 AM
Subject: RE: system function
Try using backticks instead of system.
my @array = `command line`;
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11/17/02 5:50 AM
Subject: system function
Hi, i'd like to know how i can get a return sting from a command and
pass it
to awk program.
I have
Hey Brian,
My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
Gecko/20011126 Netscape6/6.2.1
to write the following on Saturday, September 7, 2002 at 10:00:23 PM.
BV Hi All,
BV I'm trying to write a program that will calculate the number of days
BV between
Thank you. I didn't realize you could do that... How can you find a
list of all the questions in perldoc?
Thanks again,
Brian
Tim Musson wrote:
Hey Brian,
My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
Gecko/20011126 Netscape6/6.2.1
to write the
perldoc perlfaq
- Original Message -
From: Brian Volk [EMAIL PROTECTED]
To: Tim Musson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 08, 2002 2:04 AM
Subject: Re: system function question
Thank you. I didn't realize you could do that... How can you find a
list
-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 8:53 PM
To: 'Kakade, Amod A '; ''[EMAIL PROTECTED]' '
Subject: RE: System function not working
Check the $^E variable. It should have OS-specific error information.
-Original Message-
From: Kakade, Amod
on Fri, 10 May 2002 12:11:00 GMT, [EMAIL PROTECTED] (Amod A
Kakade) wrote:
I have 2 machines one running Windows2000 advanced server other
running the Windows 2000 Professional.
If I run a perl program on Windows 2000 Professional machine it
runs successfully but same code does not
Check the $^E variable. It should have OS-specific error information.
-Original Message-
From: Kakade, Amod A
To: '[EMAIL PROTECTED]'
Sent: 5/10/02 5:11 AM
Subject: System function not working
Hi
I have 2 machines one running Windows2000 advanced server other
running
the Windows
ok... I'm writing a perl program that will use scp to copy a file from
one machine to another securely.
The problem is that scp asks for the users password... how can I have
perl answer scp's request for a password...
by hand it looks like so;
$$scp -C test [EMAIL
Thursday, December 13, 2001, 8:28:53 PM, Mike Gargiullo wrote:
ok... I'm writing a perl program that will use scp to copy a file from
one machine to another securely.
The problem is that scp asks for the users password... how can I have
perl answer scp's request for a password...
by hand
22 matches
Mail list logo