Just to toot my own horn, I'd like to mention that I wrote the
System2 module, with an eye toward running commands, and getting
isolated STDOUT/STDERR as well as exit values. Well, it makes me
happy.
On Fri, Nov 30, 2001 at 03:45:23PM -0500, J. J. Horner wrote:
> * Kairam, Raj ([EMAIL PROTECTED]
Use the CHILD_ERROR $? to see what happend, for example
system(" some command ");
if ( $? )
{
then figure out what happend..
}
Note that you'll have to see what your command returns and parse that.
See perlvar(1), there is some shifting around to be done as well.
But I am not sure
On Fri, Nov 30, 2001 at 03:08:16PM -0500, Kairam, Raj wrote:
> In my perl script I have a line like this.
> system( "'/usr/bin/lp -dhp4si /tmp/plotreq.txt' > /tmp/plotid.txt");
>
> hp4si is the destination printer.
> /tmp/plotreq.txt is small text file to be sent to the printer.
> /tmp/plotid.tx
From: Kairam, Raj <[EMAIL PROTECTED]>
> system( "'/usr/bin/lp -dhp4si /tmp/plotreq.txt' > /tmp/plotid.txt");
> If I run the command /usr/bin/lp -dhp4si /tmp/plotreq.txt > /tmp/plotid.txt
> it is fine as a command line.
I may be missing something, but it looks to me like you are running a differe
* Kairam, Raj ([EMAIL PROTECTED]) [011130 15:10]:
> In my perl script I have a line like this.
> system( "'/usr/bin/lp -dhp4si /tmp/plotreq.txt' > /tmp/plotid.txt");
>
> hp4si is the destination printer.
> /tmp/plotreq.txt is small text file to be sent to the printer.
> /tmp/plotid.txt is the ou
In my perl script I have a line like this.
system( "'/usr/bin/lp -dhp4si /tmp/plotreq.txt' > /tmp/plotid.txt");
hp4si is the destination printer.
/tmp/plotreq.txt is small text file to be sent to the printer.
/tmp/plotid.txt is the output of lp command ( just one line to indicate job
id )to be s
Last I checked, ab which comes with Apache, had not yet been ported
to NT/2000 officially. However, there does seem to be a port
available here:
http://www.remotecommunications.com/apache/ab/
Upon testing their precompiled version however, I found that
that it doesn't seem to work too well, i
Greetings.
Thanks to all the respondednts - as it looks my original message was too
terse, I'll try to clarify a bit.
I have an app that already works on Apache CGI.pm, Apache::Registry and
FastCGI.
It also works under PWS/IIS as CGI - and I'll be testing it under AS's
perlex shortly.
At prese
James <[EMAIL PROTECTED]> writes:
> Now, how did I know I was going to get flamed?? :/
>
> Anyway thanks for the example. Some manuals are too hard to read, you
> have to be a goddamn PhD to read some of them out there to untangle
> the mess of cross references and incomplete examples. :/
>
> But
Take a look here:
http://dsb3.com/dave/dynipvhost.html
or here:
http://orbitstar.linux-site.net/pub/archive/apache-vhosts.html
Greetz.
maarten.
> Now, how did I know I was going to get flamed?? :/
>
> Anyway thanks for the example. Some manuals are too hard to read, you
> have to be a goddamn PhD to read some of them out there to untangle the
> mess of cross references and incomplete examples. :/
Some are, but this one isn't. This is al
Now, how did I know I was going to get flamed?? :/
Anyway thanks for the example. Some manuals are too hard to read, you
have to be a goddamn PhD to read some of them out there to untangle the
mess of cross references and incomplete examples. :/
But, with that e.g. that uses an IP address, fro
Well, you certainly haven't inconvenience yourself by taking the
time to look at the copious documentation available on this, now
have you?
That said, here's a snippet of what you want to use:
NameVirtualHost 192.168.0.10
ServerName www.logsoft.com
ServerAlias logsoft.com
ServerA
Hi,
Does anyone have a quick example of setting up a vhost with mod_perl
enabled please? Also an ordinary cgi-bin, with file extensions .pl and
.cgi enabled?
Also with a vhost, I can name the host anything I like can't I? For
example, say my domain is localhost.localdomain but I'm using dyndn
This is the first wide announcement of the release of OpenFrame.
OpenFrame is an Application Framework for Perl and the Web. It is
designed to do enough to make your life easier, and provide enough
flexibility to make extending it to do what *you* want it to pretty
easily.
It doesn't have to run
El Jue 29 Nov 2001 19:37, Chuck Carson escribió:
> I have the following config:
>
> apache 1.3.22 with perl 1.26 built statically
>
> I want to use perl to dynamically generate html pages, so I have .pl
> files under DOCUMENT_ROOT.
>
> I have this config:
>
> Alias /perl /usr/local/apache/cgi-bin
El Jue 29 Nov 2001 19:31, Ian escribió:
> Mensaje firmado por ID de clave desconocido 962F87CA
> In the wide and wonderful world of Microsoft and Linux, I'm in the
> need of an interesting soloution.
>
> I'm presenting this to the list because I've ran out of good ideas.
I recommend making a mod_
17 matches
Mail list logo