hi, i buiold up a new SMTP conection:
$smtp = Net::SMTP->new($MAIL{recive_mailserver});
print "ms, $MAIL{recive_mailserver}, $!";
and it returns :
ms, ns2.internet-shop.net, No such file or directory
what means "No such file or directory" in this Case ?
thanx for help. Kris
___
Kristofer Wolff wrote:
>
> hi, i buiold up a new SMTP conection:
>
> $smtp = Net::SMTP->new($MAIL{recive_mailserver});
> print "ms, $MAIL{recive_mailserver}, $!";
>
> and it returns :
> ms, ns2.internet-shop.net, No such file or directory
>
> what means "No such file or directory" in t
hi,
> > The problem is that in some later time say one month after now I may
need to
> > implement Session functionality based on HIDDEN-form fields not on
cookies
> Did you look at CGI::SecureState which includes a method:
>
http://search.cpan.org/doc/BEHROOZI/CGI-SecureState-0.21/SecureState/Sec
Kristofer Wolff wrote:
> hi, i buiold up a new SMTP conection:
>
> $smtp = Net::SMTP->new($MAIL{recive_mailserver});
> print "ms, $MAIL{recive_mailserver}, $!";
>
> and it returns :
> ms, ns2.internet-shop.net, No such file or directory
>
>
>
> what means "No such file or directory" in
but... it sends out no mail, and interupt at these point of skript !
-Ursprüngliche Nachricht-
Von: Philip Newton [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. Januar 2001 12:47
An: 'Kristofer Wolff'; perllist
Betreff: Re: there is a SMTP error i do not understand..
Kristofer Wolff
cool... I'm just looking at it ... it has Multipart.pm ... can this module
can be used separately ( I have searched for a long time for Upload feature,
but implemented separately not as it is part of the CGI :"), the script that
I can cut and paste ).
And I also see State.pm ..!!!??
# The POD do
Hi,
I've been experiencing some trouble with the WWW service shutting down
without notice requiring a reboot and, while I figure out what's causing
this problem, I would like to code something simple that would detect when
the server stops delivering pages and immediately initiate a restart.
The
Hi all,
I sent this question couple of weeks ago, but all the solutions
I tried were not quite what I wanted.
I have a perl cgi script, and I am calling two cli programs in it.
The perl script looks something like this:
call program1;
for ( some condition )
{
..
Title: RE: there is a SMTP error i do not understand..
Well $! is supposed to yield the current error string so my guess with what you've provided is that your SMTP connection worked but somewhere prior to the first line you attempted a file open, write, read etc... and it failed. If you
Some of my perl programs are getting way too big.
Where can I find docs on how memory is handled when perl.exe loads a .pl file?
For instance, if I put "require" statements in the beginning of the .pl
file, are these brought in by perl.exe when the file is first executed?
Can I reduce memory r
Hello,
I have a question about the CGI.pm module I have been using.
Anyway, I am a procedural guy, so I get all my data like this:
my $fieldval = param('sometextfield');
My question: When I get the $fieldval, is it clean of whitespace in the
front and back? Sometimes I run queries against a SQL
"Purcell, Scott" wrote:
>
> Hello,
> I have a question about the CGI.pm module I have been using.
>
> Anyway, I am a procedural guy, so I get all my data like this:
> my $fieldval = param('sometextfield');
>
> My question: When I get the $fieldval, is it clean of whitespace in the
> front and b
> someone may have an answer. Or it would be interesting to hear if
> others do
> what I do, or if I am paying the price in time for cleaning?
Just for curiosity's sake, I timed the trimming operation on my laptop (600
MHz Pentium III, Windows 2000) using the benchmark module. Running the trim
op
Firstly, I apologize for the multiple questions I am posting, but you guys
are being great help...
Ok here comes the problem...
One of my perl cgi scripts is calling a cli program , and the cli program
creates an .htm file with text and check boxes, that the users are supposed
to open through a li
Per the CGI documentation...
" This (CGI) package defines CGI objects, entities that contain the
values of the current query string and other state variables.
Using a CGI object's methods, you can examine keywords and parameters passed
to your script,..."
the keyword here is "examine" so to th
> For instance, if I put "require" statements in the beginning of the .pl
> file, are these brought in by perl.exe when the file is first executed?
'use' statements are evaluated at compile time while 'require'
statements are evaulated at run-time.
> Can I reduce memory requirements (and increas
Hello World,
I'm still having trouble with the code which actually does the rebooting.
I'm getting an "Undefined subroutine &Win32::InitiateSystemShutdown
called..." error.
Maybe someone knows my mistake. The script in its current state appears below:
# http_echo_test.pl
use LWP::Simple;
$url
Server: NT4/IIS4/Sp6a + nnn hotfixes
Perl version: 5.00307
Sometimes my normally-working scripts will produce no output at all to the
browser. In the Perl error log, a corresponding "script produced no output"
error is recorded. In one case, all the script does is read a number of
files, parse t
>Server: NT4/IIS4/Sp6a + nnn hotfixes
>Perl version: 5.00307
>
>Sometimes my normally-working scripts will produce no output at all to the
>browser. In the Perl error log, a corresponding "script produced no
>output"
>error is recorded. In one case, all the script does is read a number of
>files
> read(STDIN, $query_data, $ENV{'CONTENT_LENGTH'});
>
> my $my_query = new CGI($query_data);
That's a bit odd don't you think?
my $q = new CGI;
> $segment=@get_query[0];
Grrr. $segment = $get_query[0];
> $html= $segment . ".htm";
@chars = ( "A" .. "Z", 0 .. 9 ); # Cookbook page 52
$html = "
> Sometimes my normally-working scripts will produce no output at all to the
> browser. In the Perl error log, a corresponding "script produced no output"
use CGI::Carp;
You might also want to use the Tee module to capture the outout to
STDOUT to a flat file during the next few days to see if P
>I've been experiencing some trouble with the WWW service shutting down
>without notice requiring a reboot and, while I figure out what's causing
>this problem, I would like to code something simple that would detect when
>the server stops delivering pages and immediately initiate a restart.
I've
22 matches
Mail list logo