Re: MAIL::POP3CLIENT QUESTION-HELP!

2003-11-27 Thread mail admin
sorry! there was a typo err in host field nevertheless thanks to all - Original Message - From: "Trevor Joerges" <[EMAIL PROTECTED]> To: "mail admin" <[EMAIL PROTECTED]>; "WIN32-PERL" <[EMAIL PROTECTED]> Sent: Friday, November 28, 2003 1:00 AM Subject: Re: MAIL::POP3CLIENT QUESTION-HELP!

regular expression replacement

2003-11-27 Thread Kaufman Eran (StarHome)
Hi,   I would like to know how can I replace the value c:\qqq\www\ to c:/qqq/www/. I tried several ways, but didn't manage to.   Thanks, Eran

Auto-Detect read-write (simulate console) Help!

2003-11-27 Thread Jeremy A
hello all. Suppose I have a perl script that launches a sub-process. how do i get the perlscript to auto-detect when it is able to write (STDIN) to the process and when it is supposed to read (STDOUT) from the process without having to edit the code for launching different processes, (eg. chkds

Re: MAIL::POP3CLIENT QUESTION-HELP!

2003-11-27 Thread Sisyphus
Trevor Joerges wrote: Sounds like your POP connection has entered a DEAD state. Try checking the status of the connection using the 'State' method like so after you print the message count: print $pop->State(), "\n"; HTH, Trevor Joerges - Original Message - From: mail admin To: WIN32-PERL

Strange perl problem on W2000

2003-11-27 Thread Huub Peters
Hello list, I allready sent this out directly at Jan Dubois because I thought he might have the solution to this problem. No respons yet so I'll throw it in here We recently moved our production-webserver to a newer machine. There are lots of applications in the form of cgi-scripts that ran

Re: MAIL::POP3CLIENT QUESTION-HELP!

2003-11-27 Thread Trevor Joerges
Sounds like your POP connection has entered a DEAD state. Try checking the status of the connection using the 'State' method like so after you print the message count: print $pop->State(), "\n"; HTH, Trevor Joerges - Original Message - From: mail admin To: WIN32-PERL Sent: Wednesday, No

MAIL::POP3CLIENT QUESTION-HELP!

2003-11-27 Thread mail admin
GIVEN NEXT SNIPPET ++     use Mail::POP3Client;  $pop = new Mail::POP3Client( USER => "...", PASSWORD => "", HOST => "" ); my $nn=$pop->Count();  print "n=$nn\n";  for ($i = 1; $i <= $pop->Count(); $i++) {    foreach ( $pop->Head( $i )

Re: regex and filename

2003-11-27 Thread $Bill Luebkert
Beckett Richard-qswi266 wrote: > Guys, > > Someone must have already done this, but I know I can't! > > I have an input file name, and using: > use File::Basename; > fileparse_set_fstype("MSWin32"); > my $file = fileparse ("$ARGV[0]"); > my $path = dirname ("$ARGV[0]"); > > I am splitting the

regex and filename

2003-11-27 Thread Beckett Richard-qswi266
Guys, Someone must have already done this, but I know I can't! I have an input file name, and using: use File::Basename; fileparse_set_fstype("MSWin32"); my $file = fileparse ("$ARGV[0]"); my $path = dirname ("$ARGV[0]"); I am splitting the input file name into $file and $path. I can handle t

Retrieving information from LDAP

2003-11-27 Thread Kraaijer Ronald
Hi, I am trying to retrieve information from a LDAP server using NET::LDAP Assume the following hierarchy o=myCompany ou=users Above the DN then within users (cn=me) I have an attribute mail that I want to retrieve. How to go about, I am a bit confused as of how to use LDAP->search. Thanks,