there is a SMTP error i do not understand..

2001-01-16 Thread Kristofer Wolff
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 ___

Re: there is a SMTP error i do not understand..

2001-01-16 Thread $Bill Luebkert
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

Re: Sessions,Tie,Obj,Template and so......

2001-01-16 Thread raptor
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

Re: there is a SMTP error i do not understand..

2001-01-16 Thread Philip Newton
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

AW: there is a SMTP error i do not understand..

2001-01-16 Thread Kristofer Wolff
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

Re: CGI.pm vs CGI3.pm

2001-01-16 Thread raptor
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

a reboot script?

2001-01-16 Thread Musar Information Network
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

perl cgi and controlling processes

2001-01-16 Thread Schiza, Apostolia (ISS Atlanta)
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 ) { ..

RE: there is a SMTP error i do not understand..

2001-01-16 Thread Trevor Joerges
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

require

2001-01-16 Thread Steve Sotis
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

cgi.pm question

2001-01-16 Thread Purcell, Scott
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

Re: cgi.pm question

2001-01-16 Thread $Bill Luebkert
"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

RE: cgi.pm question

2001-01-16 Thread Tammy Cravit
> 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

problems with file locking .?. *please please help!*

2001-01-16 Thread Schiza, Apostolia (ISS Atlanta)
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

Re: cgi.pm question

2001-01-16 Thread Manesh Rao
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

Re: require

2001-01-16 Thread Ron Grabowski
> 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

RE: a reboot script?

2001-01-16 Thread The Musar Corporation
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

Script produced no output

2001-01-16 Thread Brian Steele
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

Re: Script produced no output

2001-01-16 Thread Manesh Rao
>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

Re: problems with file locking .?. *please please help!*

2001-01-16 Thread Ron Grabowski
> 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 = "

Re: Script produced no output

2001-01-16 Thread Ron Grabowski
> 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

Re: a reboot script?

2001-01-16 Thread Hirosi Taguti
>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