http://www.geocities.com/geniusdoms/TheGenius
[EMAIL PROTECTED] wrote:
beginners-cgi Digest 26 Nov 2003 17:53:12 - Issue 497
Topics (messages 10148 through 10155):
Re: extracting email addys.
10148 by: John Horner
Storing Form Data without submitting it.
10149 by: Marcus Willemsen
10151
Dominique Okpara wrote:
http://www.geocities.com/geniusdoms/TheGenius
[EMAIL PROTECTED] wrote:
beginners-cgi Digest 26 Nov 2003 17:53:12 - Issue 497
Topics (messages 10148 through 10155):
Re: extracting email addys.
10148 by: John Horner
Storing Form Data without submitting it.
10149 by:
Bob Showalter wrote:
Andrew Gaffney wrote:
I believe there is an HTTP status code that tells the browser that
the form was successfully submitted, but not to go anywhere. I don't
know what it is off the top of my head, but I think it would work in
this case.
Would that be 204 No Content?
I've written a custom module (say dbConnect.PM) where the password is
hard-coded and is a return value from a function (e.g., get_password()).
This module is not located in a publicly-accessible folder (i.e., not in
htdocs or cgi-bin). My scripts in the cgi-bin call this custom module's
function
Good morning everybody,
I am writing a small console application, allowing the user to perform
some actions via a shell-like interface. The basics of this were rather
easy, and with the help of some very nice CPAN modules (i.e.
Base::Shell), I have got tab-completion, a help system and much more
Not sure, I'm not an admin by trade, but I was actually referring to the
fact that some admins assume that user Perl processes that don't die, are
doing so unintentionally.
I'm sure there may also be security issues with the user/socket coding as
well.
-
-Tom Kinzer
Long
Nice to read !
http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html
José.
DISCLAIMER
This e-mail and any attachment thereto may contain information which is confidential
and/or protected by intellectual property rights and are intended for the sole use of
the
elslam 3alikom,
i wanna run an interactive system command through my program
for example i wanna add a user with its password that is given in the program not by
the user, do any one here have any idea how can i do so in perl
i tried
quote:
David --- Senior Programmer Analyst --- Wgo Wagner wrote:
Note: I went into File::Glob and it gives the following:
Since v5.6.0, Perl's CORE::glob() is implemented in terms of
bsd_glob(). [...] Due to historical reasons, CORE::glob() will also
split its argument on whitespace, treating it
rhlinux wrote:
elslam 3alikom,
i wanna run an interactive system command through my program
for example i wanna add a user with its password that is given in the program not by the user, do any one here have any idea how can i do so in perl
i tried
quote:
On Thursday, Nov 27, 2003, at 01:26 US/Pacific, Tom Kinzer wrote:
Not sure, I'm not an admin by trade, but I was actually referring
to the fact that some admins assume that user Perl processes that
don't die, are doing so unintentionally.
Ah! an interesting take.
Having been one of those folks
Hi!
I have a problem with variables when using command-line perl in a bash
script. The script should update a date (in 2003-10-10 form) if the
argument, which is a file name, exists on the same line in the file
updated_files.txt.
#!/bin/bash
FILENAME=$1
UPDATED=`date +%F`
echo
echo perl -wne
Philipp Traeder wrote:
Good morning everybody,
I am writing a small console application, allowing the user to perform
some actions via a shell-like interface. The basics of this were rather
easy, and with the help of some very nice CPAN modules (i.e.
Base::Shell), I have got tab-completion, a
On Monday, Dec 4, 1995, at 15:32 US/Pacific, rhlinux wrote:
[..]
quote:
---
---
system(passwd username )
---
---
but this takes the password from
On Thursday, Nov 27, 2003, at 10:04 US/Pacific, Marcus Claesson wrote:
Hi!
I have a problem with variables when using command-line perl in a bash
script. The script should update a date (in 2003-10-10 form) if the
argument, which is a file name, exists on the same line in the file
Marcus Claesson wrote:
Hi!
Hello,
I have a problem with variables when using command-line perl in a bash
script. The script should update a date (in 2003-10-10 form) if the
argument, which is a file name, exists on the same line in the file
updated_files.txt.
#!/bin/bash
FILENAME=$1
Zentara wrote:
On Wed, 26 Nov 2003 15:50:57 -0500, [EMAIL PROTECTED] (Amit Phatak)
wrote:
I have a fortran program calling a perl script for various parsing
activities for multiple number of times. I wish to increment a variable by
1 in the PERL SCRIPT (not the fortran program) to have a
On Thursday, Nov 27, 2003, at 09:58 US/Pacific, Douglas Lentz wrote:
Philipp Traeder wrote:
Good morning everybody,
[..]
# ...
elsif ($cmd eq 'long_action') {
if (!fork) {
# execute the action in the child process
sleep 10;
# TODO:
Philipp Traeder wrote:
Good morning everybody,
Hello,
I am writing a small console application, allowing the user to perform
some actions via a shell-like interface. The basics of this were rather
easy, and with the help of some very nice CPAN modules (i.e.
Base::Shell), I have got
On Thu, 2003-11-27 at 21:37, drieux wrote:
On Thursday, Nov 27, 2003, at 09:58 US/Pacific, Douglas Lentz wrote:
Re: (A) What's the best way for the child to inform the parent that
it's done?.
Given that his question (A) is about 'informing'
the parent that it is finished, he might
Not related to your question but, have you thought of using a dispatch
table instead?
sub help {
# process help
}
sub long_action {
# process long_action
}
my %process = (
help= \help,
long_action = \long_action,
simple_cmd = sub { print
On Thursday, Nov 27, 2003, at 14:10 US/Pacific, Philipp Traeder wrote:
[..]
The danger of primates banging on keyboards is - of course - always
existent and quite high, but in this case I would settle for a first
version that would be usable by more or less normal beings of the
species homo [EMAIL
I'm trying to create a script to remove all font tags from an
HTML documents. I created a regular expression like this:
,[ working code
| use strict;
| use warnings;
| my $foo =font whe;
| $foo =~ tr/\.*font.*\//d;
| print $foo, \n;
`---
--As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is
alleged to have said:
So what am I doing wrong and how do I make a case
insensitive tr/// regexp?
Thanks for your help,
--As for the rest, it is mine.
You can't make a case insensitive tr/// regexp: tr/// doesn't do
--As off Thursday, November 27, 2003 7:05 PM -0600, Perl Newbies is
alleged to have said:
--As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is
alleged to have said:
So what am I doing wrong and how do I make a case
insensitive tr/// regexp?
Thanks for your help,
--As for
Philipp Traeder wrote:
It is pretty simple, the perlipc man page has some good examples, but it
is basically like this:
elsif ( $cmd eq 'long_action' ) {
defined( my $pid = fork ) or die Cannot fork: $!;
unless ( $pid ) {
# execute the action in the
In a message dated 11/26/03 6:28:54 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
BTW we'd all /really/ like to know who you are. This isn't a
costume party :)
I'm not sure what you meant by the above statement Rob. I'm guessing it goes
with your signature.
I think I will try GD. Is
Shawn O'Donnell writes:
Does anyone have any suggestions on how to create an array to hold the value
of 1000 factorial?
Do you mean 1000!
That's a super-sized number--something like 10-to-the-2566th power,
if I am using Sterling's approximation correctly.
I don't know of a
28 matches
Mail list logo