This is how I did it.
if ( @loginfo = CGI::cookie('mspplog') ) {
$user_name = $loginfo[0];
$password = $loginfo[1];
$checkPassword = 'true';
}
On Friday 07 February 2003 08:07 am, Kipp, James wrote:
All am I am trying to do now is have a user enter his/her
name in a
hi all,
how to write daemons in perl ?
does it have such a support ? if so which module should i use?
kindly enlighten me --
thanks in advance --
KM
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi all,
how to write daemons in perl ?
does it have such a support ? if so which module should i use?
kindly enlighten me --
thanks in advance --
First question, do you want a daemon as in a process that is started,
then exec's a new process without a controlling
Hi,
well to make it clear -- i need to make a server -- a constantly running
process --
suppose if i want to get a daily report of the frequency of all the users
logging in and out on the system from the daemon written in perl -- how do i do that ?
thanks,
KM
[EMAIL PROTECTED] wrote:
Hi,
well to make it clear -- i need to make a server -- a constantly running
process --
suppose if i want to get a daily report of the frequency of all the users
logging in and out on the system from the daemon written in perl -- how do i do that ?
thanks,
KM
You
Hi all,
well i really need a server :-)
thanks,
KM
On Sat, 8 Feb 2003, Wiggins d'Anconia wrote:
[EMAIL PROTECTED] wrote:
Hi,
well to make it clear -- i need to make a server -- a constantly running
process --
suppose
Hi,
what i'm creating is just an EXTREMELY script that sends an array to another
script via PIPE.
This is what i have:
#! /usr/bin/perl
@file = qw (tony boby zombie anthony martine eric charlie);
open(SORT, | perl sorted.pl);
while(@file){
chomp $_;
print SORT $_\n;
}
print
[EMAIL PROTECTED] wrote:
Hi all,
well i really need a server :-)
thanks,
KM
Still confused as to why, but ok...
How will your clients be connecting to the server? I would suggest
having a look at:
perldoc -f fork
perldoc -f
anthony wrote:
Hi,
what i'm creating is just an EXTREMELY script that sends an array to another
script via PIPE.
This is what i have:
#! /usr/bin/perl
@file = qw (tony boby zombie anthony martine eric charlie);
open(SORT, | perl sorted.pl);
while(@file){
chomp $_;
print SORT
Hi,
i'm trying to learn pipe, so i need start somewhere i could of just say
sort @file print @file and that is it but like i said i want to learn the
mechanism of pipe
Anthony
Anthony [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
what i'm creating is
Anthony wrote:
Hi,
what i'm creating is just an EXTREMELY script that sends an array to
another script via PIPE.
Never coded in EXTREMELY before, but I'll have a go ;-)
This is what i have:
#! /usr/bin/perl
ALWAYS:
use strict;
use warnings;
@file = qw (tony
[EMAIL PROTECTED] wrote:
Hi all,
well i really need a server :-)
thanks,
KM
Hi K.
I really think you ought to come clean on what you're actually
trying to do to give Wiggins (and the rest of us) a sporting chance
of helping you :)
The bottom line is that you can write a daemon in any
Anthony wrote:
Hi,
Hello,
what i'm creating is just an EXTREMELY script that sends an array to another
script via PIPE.
This is what i have:
#! /usr/bin/perl
use warnings;
use strict;
@file = qw (tony boby zombie anthony martine eric charlie);
It seems like you
John W. Krahn wrote:
Anthony wrote:
@file = qw (tony boby zombie anthony martine eric charlie);
It seems like you need newlines at the end of each element.
my @file = FILE;
tony
boby
zombie
anthony
martine
eric
charlie
FILE
Sorry, that's not going to work. :-)
my @file =
Hi all,
I am a novice to perl. I find Perl very interesting and I am studying how to
write and compile perl scripts without syntax and compilation errors. I need
heads up on how.
thanks,
DJ
_
MSN 8 helps eliminate e-mail viruses.
John W. Krahn wrote:
my @file = DATA;
Then at the end of the program:
__DATA__
tony
boby
zombie
anthony
martine
eric
charlie
I forgot you could do that! Thanks John.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
dakenah johnson wrote:
Hi all,
I am a novice to perl. I find Perl very interesting and I am studying
how to write and compile perl scripts without syntax and compilation
errors. I need heads up on how.
This is a very vague question...but here are some pointers:
always do:
use strict;
use
Dakenah Johnson wrote:
Hi all,
I am a novice to perl. I find Perl very interesting and I am studying
how to write and compile perl scripts without syntax and compilation
errors. I need heads up on how.
Erm. That's a bit of a broad brief isn't it? I think I have to throw it
back to you and
dakenah johnson wrote:
Hi all,
I am a novice to perl. I find Perl very interesting and I am studying how to
write and compile perl scripts without syntax and compilation errors. I need
heads up on how.
thanks,
DJ
Hi DJ,
You might want to re-think your emphasis here. Of ocurse, you need
Hi,
I want to rewrite this script in pure cgi, I really need help at this point.
I want to write a form but half of it is in one function and the other half
is in the other, and I cant continue the flow of the html from one function
to the next. The excerpt is as follows.
sub
Apparently I'm not getting what it is that File::Glob is supposed to
do:
ls tmp/file_[0-9]*|wc -l
99
All 99 look like
tmp/file_NUM with incrementing number.
Why doesn't this code unwind the list of files?
when this command is given:
./testglob.pl 'tmp/file_[0-9]*'
cat ./testglob.pl
On Feb 8, Harry Putnam said:
@files = bsd_glob($glob_pattern,GLOB_ERR)|| die Yikes: $!;
This line screws you up. Change the || to 'or'.
@files = bsd_glob(...) or die Yikes: $!;
The reason being: || binds very tightly, and 'or' binds less tightly.
With ||, your code is like
@files =
Jeff 'japhy' Pinyan [EMAIL PROTECTED] writes:
And || enforces scalar context, so func() won't (can't) return a list, in
your case.
Thanks, I'd have been a very long time figuring that out...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anyone know how to use a zip utility in an
installation script. I would like to create an
installation script for a program I've written. My
only hurdle is learning how to unpack the zip file.
I've heard of gunzip, can I use that with perl?
Harry Putnam wrote:
Jeff 'japhy' Pinyan [EMAIL PROTECTED] writes:
And || enforces scalar context, so func() won't (can't) return a list, in
your case.
Thanks, I'd have been a very long time figuring that out...
Another point.
cat ./testglob.pl
#!/usr/local/bin/perl -w
use
On Sat, Feb 08, 2003 at 09:37:40PM -0800, Patricia Hinman wrote:
Does anyone know how to use a zip utility in an
installation script. I would like to create an
installation script for a program I've written. My
only hurdle is learning how to unpack the zip file.
I've heard of gunzip, can
On Sat, Feb 08, 2003 at 09:37:40PM -0800, Patricia Hinman wrote:
Does anyone know how to use a zip utility in an
installation script. I would like to create an
installation script for a program I've written. My
only hurdle is learning how to unpack the zip file.
I've heard of gunzip, can
27 matches
Mail list logo