Hi ,
I am using the gethostbyname() method suggested by you..but there is one
doubt
I am having a Linux machine thats configured to IP of some 100.XXX.XXX.XXX
and additional entry of localhost(127.0.0.1)
When I use this method there, this gives me the (localhost)IP , i.e
127.0.0.1 but the same
Hi there,
I have a scrpt that sends an email notification to myself from a feedback
page. Everything works fine except for the Recipient (To:) and the Sender
(From:) tags.
The script is as follows...
snip
sub mailFeedback {
local (*argsCGI) = @_ if @_;
my $strRcpt =
Keith,
I access remote directories all of the time using Perl. In
general, Perl does not mind if you use a forward slash / rather than backward
slashes in Windows path names. So you could use "C:/" rather than "C:\\" and
"//cricket/log_files/". I noticed in your example that you are using
Can someone tell me how to read files starting from the end of the file.
I'm looking for something that imatates the unix tail command.
I need to have activeperl just read the last few lines of very large files.
Thanks in advance.
ps. I tried searching the perl lists without success on this.
I've run into a curious thing while converting some code to the use strict
pragma and -w switch. There is a shared variable or two between some files
that are required in. These variables were never explicitly declared
anywhere, so I'm using:
our $var;
our %hash;
to declare them so
From: Abhimanyu_Bhola [EMAIL PROTECTED]
Is there somehing in PERL eqvt. to MACRO in C ???
-Abhi
Not really. You can define named constants (that will be replaced
by the values when compiling the script) with either
use constant FOO = 5;
or
sub FOO () {5};
From: srikanth kasha [EMAIL PROTECTED]
I am sending an email with an attached file (XML file) to a user who
has to examine the contents of the file. After examining the file
he/she has to run a script which resides in the same computer where
the email will be opened. This
This is pretty much the end of 'next week' and ppm search tk still shows
800.022.
--hsm
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jan
Dubois
Sent: Thursday, January 31, 2002 12:51 PM
To: Arms, Mike
Cc: 'ActivePerl'
Subject: Re: Radio Button Bug