Hi,
I have a perl script that runs just fine from command line but not when
I run it as cgi. I think it's because there are some env variables that
doesn't exist when I run it as cgi. Is there a way to set the variables
from the perl script?
I tried $ENV{'VAR'} = 'value';
but it doesn't make a
Reynard Hilman [EMAIL PROTECTED] wrote:
:
: I have a perl script that runs just fine from command
: line but not when I run it as cgi. I think it's because
: there are some env variables that doesn't exist when I
: run it as cgi. Is there a way to set the variables from
: the perl script?
: I
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Hi all,
Does anyone know if a perl program could be made to read the content of a
Java applet?
I have made a script that should read such an applet, get the text from it
and print it on the browser.
Thank you.
Teddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 2:51 PM
To: NYIMI Jose (BMB)
Cc: [EMAIL PROTECTED]
Subject: Re: installing DBI on HPUX
You either need the HP ANSI C compiler or GCC. Since you
seem to use a
perl which was
Hello I have the following driver script that calls two perl scripts to run
them asyn. The driver calls the open command for both scripts but the pgm
just hangs and never finishes. Does anyone know why?
Driver:
open (DAL,C:\temp7\backup\temp1.pl);
open (DAL,C:\temp7\backup\temp2.pl);
while
Hello I have the following driver script that calls two perl scripts to run
them asyn. The driver calls the open command for both scripts but the pgm
just hangs and never finishes. Does anyone know why?
Driver:
open (DAL,|C:\temp7\backup\temp1.pl);
open (DAL,|C:\temp7\backup\temp2.pl);
while
The file handlers are both DAL.
Change the file handler names.
-Original Message-
From: William Black [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: re: Piped input
Hello I have the following driver script that calls two perl scripts to
PerlDiscuss - Perl Newsgroups and mailing lists wrote:
Hi there,
Hello,
Can anyone recommend a good way to have a perl script that constantly
monitors for the creation of new files on UNIX and launches another
process?
Not sure if someone else recommended this but:
[untested code - for
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Christian Stalp) writes:
Hello, I allready installed gcc but the Makefile calls the HPUX-cc compiler.
(CC = cc )
How can I tell the system to use the gcc instead of the cc?
perl Makefile.PL CC=/usr/local/bin/gcc
--
Peter Scott
Hi there,
Can anyone recommend a good way to have a perl script that constantly
monitors for the creation of new files on UNIX and launches another
process?
Thanks!
Cheers,
Ben
Lee's method would be the sufficient underkill way. I have an
application that does this type of thing
Hi, I've done this app. What I do is put into a file the output of
ls -lR /directory_to_watch.
Then use diff to compare the results. This gives the advantage that,
if a line starts with +, then a new file has been added. If it's -, a
file has been deleted :)
$ ls -lR listing1.txt
$ ls
-Original Message-
From: Peter Scott [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 3:31 PM
To: [EMAIL PROTECTED]
Subject: Re: installing DBI on HPUX
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Christian Stalp) writes:
Hello, I allready installed gcc but the
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 4:36 PM
To: PerlDiscuss - Perl Newsgroups and mailing lists;
[EMAIL PROTECTED]
Subject: Re: File Monitoring
[snip]
There is a directory watching component in POE
Where to find doc
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 4:36 PM
To: PerlDiscuss - Perl Newsgroups and mailing lists;
[EMAIL PROTECTED]
Subject: Re: File Monitoring
[snip]
There is a directory watching component in POE
Where
-Original Message-
From: Dani Pardo [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 4:25 PM
To: [EMAIL PROTECTED]
Subject: Re: File Monitoring
Hi, I've done this app. What I do is put into a file the
output of
ls -lR /directory_to_watch.
Then use diff to compare
I have a perl script that parses an email.
I use mutt and then just use the pipe command.
I would like to be able to pipe the output of my script then to mutt to send the
parsed email to someone else.
I can do this in mutt but just hitting the pipe char then typeing the name of my
script then |
On Mon, May 10, 2004 at 12:23:44PM -0400, Paul D. Kraus wrote:
I have a perl script that parses an email.
I use mutt and then just use the pipe command.
I would like to be able to pipe the output of my script then to mutt to send the
parsed email to someone else.
I can do this in mutt but
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 6:02 PM
To: NYIMI Jose (BMB); PerlDiscuss - Perl Newsgroups and
mailing lists; [EMAIL PROTECTED]
Subject: RE: File Monitoring
-Original Message-
From: Wiggins d
NYIMI Jose (BMB) wrote:
Is this a joke ? :-)
Here's a typical diff output:
17,18d16
(who writes under the
pseudonym Omniscient Trash)
45,46c43,44
soon every Tom, Dick or Harry
will be writing his own Perl book
---
soon every Tom, Randal and Larry
will be writing their own Perl book
Hi Gurus !
Well need your help in framing a RegExp
I've to parse for the form tag in a HTML/ASP file and then when i get that i need
to get only yhe action filepath in to an array ! How do i do it ?
For Example
form name=register id=something action=register/doregister.asp
i need only
On 10 May 2004, at 17:42, [EMAIL PROTECTED] wrote:
Well need your help in framing a RegExp
I've to parse for the form tag in a HTML/ASP file and then when i
get that i need
to get only yhe action filepath in to an array ! How do i do it ?
Parse::HTML would suggest itself rather then a regex.
Hey Joe,
[EMAIL PROTECTED] wrote:
Hi Gurus !
I am not a Guru, i am a newb :-)
Well need your help in framing a RegExp
I've to parse for the form tag in a HTML/ASP file and then when i get that i need
to get only yhe action filepath in to an array ! How do i do it ?
For Example
form
Just an FYI, after reading one of the posts in the digest I receive for
this list.
There are 121 GNU command-line apps for the Win32 environment.
The download is a .zip file, about 3.2 megs. I hope some of you find joy
in
your Windows use with it.
http://unxutils.sourceforge.net/
Does anyone know how to read a dbm file. I tried this, but in vain:
$db = 'test.dbm';
dbmopen(%DATA, $db, 0644) or die Can't open DB_File $db : $!\n;
while(($key,$values) = each(%DATA)) {
print $key has value of $value\n;
}
I do not get any data back. When I look at the file,
I'm trying to use the CPAN module to install new modules on my Solaris 9
server. I've logged in as root, and I've tried the following:
$ perl -MCPAN -e 'shell'
cpan install HTML::Parse
...and this is what the output looks like:
Running install for module HTML::Parse
Running make for
I'm trying to use the CPAN module to install new modules on my Solaris 9
server. I've logged in as root, and I've tried the following:
$ perl -MCPAN -e 'shell'
cpan install HTML::Parse
...and this is what the output looks like:
[snip]
Any ideas? I have gcc installed and
On Mon, May 10, 2004 at 08:35:53AM -0600, Wiggins d Anconia wrote:
There is a directory watching component in POE or you could grow your
There is also the FAM daemon, which taps into the kernel to do it. I'm
sure that there is a perl module to talk to that.
--
Robin [EMAIL PROTECTED]
On Mon, May 10, 2004 at 12:23:44PM -0400, Paul D. Kraus wrote:
The only problem is thats kind of lengthy i would like to have a
script wrap my script that would have the mutt command built into it.
Or just bind a button to it in ~/.muttrc, so that mutt does all the hard
work.
--
Robin [EMAIL
Hello. I've been hacking on Erik Oliver's rather
nice setext-to-html script, refining it beyond the
original interpretations of setext back in 2002.
I've run into two major snags that my limited
knowledge
of Perl is not allowing me to get past. I'd
appreciate
any pointers or assistance anyone
Hi,
I have got two versions of a script to eliminate single line-feeds from
a file. The first one does weird stuff - duplicating lines and messing
the text file up. The second one works (I copied it from a Perl guide),
but I don't understand why. I would much prefer the first one to work -
Hi,
I have got two versions of a script to eliminate single line-feeds from
a file. The first one does weird stuff - duplicating lines and messing
the text file up. The second one works (I copied it from a Perl guide),
but I don't understand why. I would much prefer the first one to work -
In a message dated 5/10/2004 12:22:06 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
Hi,
I have got two versions of a script to eliminate single line-feeds from
a file. The first one does weird stuff - duplicating lines and messing
the text file up. The second one works (I copied it from
The first one does weird stuff
Looks like -i only works with '', not with 'FILE' (though I could
not find that documented).
Can you tell me how to change the first one to make it work?
If you really need to do that, try 'open(STDIN,$filetobechanged)'
instead. Then, 'while()' instead of
Hello together,
I have a problem! I use a HP-PaRisc Server with HPUX 10.20 and I just tried
to install the DBI-module for Perl.
After calling: perl Makefile.PL I got this warning:
Warning: prerequisite Test::More failed to load: Can't locate Test/More.pm in
@INC (@INC contains: lib
Hi there,
Can anyone recommend a good way to have a perl script that constantly
monitors for the creation of new files on UNIX and launches another
process?
Thanks!
Cheers,
Ben
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 10 May 2004, at 11:44, Christian Stalp wrote:
I just tried to install the DBI-module for Perl.
Can't locate Test/More.pm
After that the make dosn't work either!
What can I do?
Install Test::More first.
(You might want to check out the CPAN module, which can be configured
to auto-install
Timothy Duke [EMAIL PROTECTED] wrote:
:
: Also, I understand that the operator reads in one
: line at a time. If I wish to eliminate only triple
: line-feeds (\n\n\n) and leave double and single
: linefeeds, I presume won't work. Without reading
: in the whole file at once, how can I achieve
I tryed it at another way. I got an older version: DBI-1.21 because I still
use perl 5.6 not 5.6.1!
perl Makefile.pl works, all is fine.
But now I get this:
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The -O option
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: installing DBI on HPUX
Hello together,
I have a problem! I use a HP-PaRisc Server with HPUX 10.20
and I just tried to install the DBI-module
-Original Message-
From: BERTHOLD Jean [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 08, 2004 3:45 PM
To: [EMAIL PROTECTED]
Cc: BERTHOLD Jean
Subject: Problem using File::RsyncP module
[snip]
I have never used File::RsyncP module but here
Are some of the thinks that raised doubt to me:
Timothy Duke wrote:
Hi,
Hello,
I have got two versions of a script to eliminate single line-feeds from
a file.
You should use chomp() to remove newlines. Using the substitution
operator globally is forcing the whole line to be scanned.
The first one does weird stuff - duplicating lines
-Original Message-
From: Christian Stalp [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 1:27 PM
To: [EMAIL PROTECTED]
Cc: David Dorward
Subject: Re: installing DBI on HPUX
I tryed it at another way. I got an older version: DBI-1.21
because I still
use perl 5.6 not
You either need the HP ANSI C compiler or GCC. Since you seem to use a perl
which was build using the HP ANSI C compiler it's easiest to install that
compiler on the system you're trying to get DBI to work. However, you need
to PAY for that compiler so you might want to switch to GCC. I'm
45 matches
Mail list logo