Re: Quick Q

2006-04-17 Thread Trevor Joerges
ctory path. - Original Message - From: "Ng, Bill" <[EMAIL PROTECTED]> To: "Trevor Joerges" <[EMAIL PROTECTED]>; Sent: Sunday, April 16, 2006 11:40 PM Subject: RE: Quick Q Actually ... If I'm looking just for a list of directories, I pass "/ad"

Re: Quick Q

2006-04-14 Thread Trevor Joerges
--- open (DIR, "dir c:\\some\\directory |"); while () { chomp $_; push (@subDirs, $_); } close DIR; --- Anyone got any clues for me. Not looking for code, just for the correct function or module. Thanks.

Re: XPath, XML::LibXML mailing list???

2006-04-12 Thread Trevor Joerges
hi... i'm trying to find a mailing list specifically focused on XPath, XML::LibXML issues/questions. Can't seem to find any via google. can anyone point me to one, or should i simply post my questions here? thanks -bruce [EMAIL PROTECTED] Bruce, There is the 'perl-win32-web@listserv.Acti

Re: XPath gurus???

2006-04-12 Thread Trevor Joerges
if you and i can work with a few arbitrary college websites, so i can have a few "sample" perl/xpath apps to work from, i could probably take it from there, and get things up/running.. would you be up to being the "mentor" role here??!!! I can only help as I have time Bruce and can make no com

Re: XPath gurus???

2006-04-11 Thread Trevor Joerges
Courses) -Faculty -Course Name -Room -Date -Etc... This is it in a nutshell!! -Bruce If you're in the Bay area, we could even meet for lunch!!! -Original Message- From: Trevor Joerges [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 1:55

Re: Network shares

2006-04-11 Thread Trevor Joerges
essarily a working example but something like this: my %NetResource = ( LocalName => $Drive, RemoteName => "$Server\\D\$", ); if( Win32::NetResource::AddConnection( \%NetResource, '', '', 0 ) ) { print "Successful!\n"; return 0; } else

Re: Replace Leading Spaces

2006-04-07 Thread Trevor Joerges
Using a regex, I want to replace each leading space-character with a corresponding zero-character on a one-to-one basis. For an example string: My $string = ' 259.00 '; Note that I don't want to change the trailing space character. The resulting string would look like: '0259.00 ' The t

Re: Database Help... Brain is mush

2006-03-15 Thread Trevor Joerges
Guru's, I'm attempting to read and format data from a DBF database. The database is created and updated in real time by a proprietary software, so using SQL is not an option. Also, the file is a weird category-less database which does not seem to be supported by dbd-xbase. I'm having trouble

Re: Collecting Application servers critical services

2006-02-18 Thread Trevor Joerges
does anyone had an experience with this and can recommend on which modules to use? or know of an existing perl script that does it? thanks -- Eyal Edri | System & Security Engineer | [EMAIL PROTECTED] Communication. Win32::Service::GetServices ___ Pe

Re: RAS

2006-01-22 Thread Trevor Joerges
Has anyone run into this situation before? If so, would you mind pointing me in the right direction so that I may start down a path of a good solution? CPAN is your friend: http://search.cpan.org/search?query=WIN32%3A%3ARAS&mode=module HTH, Trevor Joe

Re: SQL problem

2005-11-24 Thread Trevor Joerges
ble syntax. I believe when declaring and setting two variables you have to use SET explicitly for each variable unlike the DECLARE statement where you can comma seperate them so: ' SET @StartRange = ?, @EndRange = ?' should be: ' SET @StartRange = ? SET @EndRange = ?' Hope this hel

Re: Comparing 2 text files

2005-11-11 Thread Trevor Joerges
What is the best way to compare 2 text files for matching. Let's say both files have just people names Thanks File1 File2 James Joe TinaPatrick Steve James ... I'm lazy and don't like reinventing the wheel although it can be fun somet

Re: memory used

2005-11-11 Thread Trevor Joerges
cursive byte counts though and you need to use the "bytes" module to make it switch from char semantics to byte semantics. Hope this helps. --Trevor Joerges. ___ Perl-Win32-Users mailing list Perl-Win32-Users@lists

Re: Net::FTP capture Debug output

2005-11-08 Thread Trevor Joerges
I have a logging subroutine that writes time stamped output to the logfile. My goal would be to capture the NET::FTP output to a var so that it could be handed to my logging procedure. Any possibilities like that? You should be able to trap them using one of the signal handlers such as __WARN

Re: Net::FTP capture Debug output

2005-11-08 Thread Trevor Joerges
I am using Net::FTP module in a program. If I use Debug=>1 the module output information to STDERR. I have seen many web pages and board posts about capturing STDERR from an external program does shell redirection. I do not see that as relevant when using Net::FTP. Is there a way I can capture th

Re: Capitalize every 1st character of all the words in a string

2005-02-20 Thread Trevor Joerges [SendMIME Software]
o wrap a 'while' loop or something around the string and process it one work at a time. Maybe something like: while ( /(\w['\w-]*)/g ) { my $word = ucfirst $1; print "$word \n"; } HTH, Trevor Joerges ___ Perl-W

Re: :Oracle copy from one PC to another

2005-02-04 Thread Trevor Joerges [SendMIME Software]
I hope and believe this is not a hard question, merely procedural. . . It seems Tim Bunce's Oracle DBD repository is no longer functional; does anyone know the procedure for copying a module install from one machine to another? So far I've tried copying the .pm's that seemed to be relevant (and, o

Re: ExtractIcon, then write it to file

2004-12-18 Thread Trevor Joerges [SendMIME Software]
how do i extract an icon from an exe file, then write it to a file. CPAN is your friend. Win32::Exe has what you need unless you must create this yourself. I bet if you look at the module source you'll see what your looking. HTH, Trevor J. Joerges SendMIME Software www.sendmime.com

Re: extract jpg info

2004-12-16 Thread Trevor Joerges [SendMIME Software]
That information I believe is called Exif info. A quick search on CPAN returned: Image-ExifTool You might want to check that module out. HTH, --Trevor Joerges - Original Message - From: "Hon Shi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December

Re: Crypt::Rijndael

2004-11-22 Thread Trevor Joerges [SendMIME Software]
ally since I > see them listed (http) in the Activestate repository! So, why can ppm not > locate them? > > Thanks, > > - Mark > Try the UoW repository. Name: Unniversity Of Winnipeg Location: http://theoryx5.uwinnipeg.ca/ppms/ T

Re: Systemtray-Icon controlled by Perl?

2004-10-08 Thread Trevor Joerges [SendMIME Software]
needs some > userinteraction which should be realized through a tasktray-icon. Is this > possible? Does anyone know how to do that? > > It would be enough when the perlprog simple knows when that icon gets > clicked (no popup-menu necessary) and have the ability to change the

Re: External dat file question.

2004-10-04 Thread Trevor Joerges [SendMIME Software]
> This is probably a simple question, but i'm asking for some > help as to the best way to > accomplish this. My script reads data from my database and > one of the columns is the user id. > This script is run once every hour by a cron job. I want to > grab all the user id's each hour and > keep a

Re: running out of memory...

2004-07-06 Thread Trevor Joerges [SendMIME Software]
> I posted earlier about this problem and clearing my arrays before each use makes no difference...the issue is lexical scoping, or keeping variables/arrays local - if they are used in other subroutines (and not declared local or with "my"), they are global, your memory increases, even if you clear

Re: perl to monitor other perl apps...

2004-07-03 Thread Trevor Joerges [SendMIME Software]
e for identifying Netscape issues on UNIX workstations. Unfortunately all the written code is property of the company I did it for. Just a suggestion. HTH, Trevor Joerges - Original Message - From: "bruce" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 0

Re: Lost messages

2004-06-19 Thread Trevor Joerges [SendMIME Software]
> I'd like to get the messages from archive or ask the list server > to resend them but I don't know how to do it. > Could you tell me how to do it, please? You can view the mailing list archive online here: http://aspn.activestate.com/ASPN/Mail/Browse/Plain/perl-win32-users/ Not sure about comma

Re: Perl and Net::SNMP

2004-06-11 Thread Trevor Joerges [SendMIME Software]
Change "Net::SMTP" to "libnet" - Original Message - From: Jeremy Junginger To: [EMAIL PROTECTED] Sent: Friday, June 11, 2004 10:13 Subject: Perl and Net::SNMP Hey guys, How do you get the Net::SNMP module installed on a windows machine running PERL 5.8+? I'm trying the following: per

Re: http - https - OpenSSL and Crypt::SSLeay

2004-05-10 Thread Trevor Joerges
Try setting a repo for Unniversity of Winnipeg: http://theoryx5.uwinnipeg.ca/ppms/ HTH, Trevor Joerges # $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx.;.q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;g;s;,;\n;g

Re: Perl script running on windows & linux

2004-05-04 Thread Trevor Joerges
Hirsosi, (B (BAFAIK vi will display ^M correctly. Are you sure your not using VIM rather (Bthan VI? Try typing "which vi" to see if VI is not aliased to VIM. If it is (Bthen set it correctly to VI instead. (B (BJust something to check.. (B (BHTH, (BTrevor Joerges (B#~~

Re: Create virtual sites in IIS 5.0

2004-04-05 Thread Trevor Joerges
$VDir = $VRoot->Create( "IIsWebVirtualDir", $WebSite{vdir} ) || die Error( "IIsWebVirtualDir" ); # Set the new directory path and enable users to read its files $VDir->{AccessRead} = 1; $VDir->{Path} = $WebSite{path}; # Commit our changes $VDir->Set

Re: TTF Font Program

2004-04-04 Thread Trevor Joerges
e you will have to use some of the modules you mentioned below to get exactly what you want. I haven't used any of these modules before other than running the Tk examples so cannot offer any other advise unless I dive into them. HTH, Trevor Joerges #~~~

Re: XML-RPC

2004-03-23 Thread Trevor Joerges
Just my opinion but I think XML-RPC is a great way to accomplish that. I've seen entire application APIs using XML recently and the concept we a great idea. Would be a good way to make your processes modular too and allow to be separated onto individual boxes later on if required. Trevor Jo

Re: scanning module

2004-02-24 Thread Trevor Joerges
Scanning what type of documents and for what?   Trevor. - Original Message - From: John To: [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 7:34 AM Subject: scanning module Is there any module for scanning documents?   Please help me! _

Re: Portable Cursor Positioning?

2004-02-18 Thread Trevor Joerges
ortable solution would be best. HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx.;.q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;

Re: Combine unique values of two arrays into one

2004-02-18 Thread Trevor Joerges
TIMTOWTDI, Here's one... my %temp= (); my @a = ( 1...10 ); my @b = ( 1...15); push( @a, @b); my @uniq = grep { ! $temp{$_} ++ } @a; print "@uniq"; HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,

Re: Getting started with DBM-like packages under Win32

2004-02-18 Thread Trevor Joerges
SQLite would be my recommendation too if your not looking to implement an RDBMS. Also I think there is a port of GDBM at Roth Consulting www.roth.net. HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx

Re: PAR-.79 help

2004-02-03 Thread Trevor Joerges
#x27;PAR-0.79-MSWin32-x86-multi-thread-5.8.0.par' from www.cpan.org... > Fetching failed: > No compiler found, won't generate 'script/parl.exe'! > Writing Makefile for PAR > <\> > > I have manually tried to download the > "'PAR-0.79-MSWin32-x

Re: How Do I Create a Hash dynamically

2004-01-23 Thread Trevor Joerges
the Hashes of Hashes examples. HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx.;.q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;g;s;,;\n;g; s;Y

Re: Command line arg monitor

2004-01-22 Thread Trevor Joerges
specific communication. You could use IO::Socket. HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx.;.q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;g;s;,;\n;g; s;Y; ;g;print

Re: Loadtests with perl?

2004-01-22 Thread Trevor Joerges
print; #~~~ - Original Message - From: "Daniel Eckstein" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Trevor Joerges" <[EMAIL PROTECTED]> Cc: "Deac Nkisetlein" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January

Re: Loadtests with perl?

2004-01-22 Thread Trevor Joerges
http://www.bybyte.de/jmk/ HTH, Trevor Joerges #~~~ $_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;. q;xxx.;.q;~,[EMAIL PROTECTED],;;s;~;tfoenjnf.dpn;g;y;B-x;A-w;;s;P;perl;g;s;,;\n;g; s;Y; ;g;

Re: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread Trevor Joerges
Title: CGI - Read entire contents that were POSTED to the script Have you tried using the CGI environment variable $ENV{'QUERY_STRING'}?   HTH Trevor Joerges - Original Message - From: Arul, Rex To: Perl-Win32-Users Sent: Friday, January 09, 2004 1

Re: Net::DNS::Resolver - IP address to DNS name?

2003-12-22 Thread Trevor Joerges
Try using the Socket module instead: use strict; use Socket; my $ip = '10.80.0.2'; my $hostname = gethostbyaddr(inet_aton("$ip"), AF_INET); if ($hostname) { printf "%-15s %-25s\n", $ip, $hostname; } else { printf "%-15s Resolution failed!\n", $ip; } HTH

Re: Win32::Service

2003-12-12 Thread Trevor Joerges
Win32::GetLastError() ), "\n\n"; } HTH, Trevor Joerges - Original Message - From: "Kraaijer Ronald" <[EMAIL PROTECTED]> To: "'Sisyphus'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 6:29 AM Subject: R

Re: Sending e-mail? Calling emacs to edit?

2003-12-11 Thread Trevor Joerges
Use Net::POP3 or Mail::POP3Client to retrieve the message, then use MIME::Parser to parse the individual message body parts. The body parts can be accessed and modified in memory or to disk. Once you have the parts you can edit the HTML however you like and put it all back together using MIME::Enti

Re: mail - retrieve from Lotus server? TWO

2003-12-11 Thread Trevor Joerges
There is also the Notes SQL drivers which would allow you to use DBI::ODBC or Win32::ODBC modules to connect to just about any Notes DB including mail Dbs. The simplest way would be to POP enable the Notes server and connect to it using Net::POP3 and NET::SMTP. HTH, Trevor Joerges

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: WIN

Re: Fastest way to create an Access db...

2003-11-15 Thread Trevor Joerges
I don't know of any way to create an Access DB quicker than DBD::ODBC but have you checked out DBD::SQLLite? If you do not have to specifically use MS Access I get very fast results using this embeddable SQL database engine. Plus it's portable. HTH Trevor Joerges - Origin

Re: How to install modules that aren't available in ActiveState's repository?

2003-11-11 Thread Trevor Joerges
UNIX operating systems will most likely fail.   HTH, Trevor Joerges - Original Message - From: Gary Nielson To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:07 PM Subject: How to install modules that aren't available in ActiveState's repos

Re: Yet Another Mail Question

2003-10-28 Thread Trevor Joerges
If your Microsoft Exchange server is POP enabled you can use either Net:POP3 or Mail::POP3Client to retrieve messages and parse them using MIME-Parser. Both are pretty simple to use and well documented. HTH, Trevor Joerges - Original Message - From: "Scott Purcell" <[EM

Re: Win32::Lanman and Perl 5.8?

2003-10-28 Thread Trevor Joerges
Try setting a repository for Jenda's PPMs: ppm> repo add Jenda http://Jenda.Krynicky.cz/perl ppm> search win32-lanman or ppm> install win32-lanman HTH, Trevor Joerges - Original Message - From: "valerie" <[EMAIL PROTECTED]> To: "Perl-Win32-User

Re: disable STDERR

2003-10-28 Thread Trevor Joerges
solaris|linux|aix|etc/i) { if(!open BITBUCKET, ">/dev/null") { print "Unable to initiate the bitbucket - $!\n\n"; exit (1); } else { *STDERR = *BITBUCKET; *STDOUT = *BITBUCKET; } } HTH Trevor Joerges - Original Message - From: "Jay Ay"

Re: perlscript performance in ASP

2003-10-20 Thread Trevor Joerges [SendMIME Software]
IIS. Perhaps IIS is not taking full advantage of your available resources with ASP. Take a look at: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/iis/iis5/maintain/optimize/iis5tune.asp HTH, Trevor Joerges - Original Message - From: "Peter Lavender&quo

Re: Win32-Daemon module installation problem!

2003-10-16 Thread Trevor Joerges [SendMIME Software]
o say ppm ). I tried what you said and I get the same error. Here it is    Error: no suitable installation target found for package Win32-Daemon.   Any other ideeas ? Thanks, Nicu -Ursprüngliche Nachricht-Von: Trevor Joerges [SendMIME Software] [m

Re: How do on create a Certs?

2003-10-06 Thread Trevor Joerges [SendMIME Software]
reate and sign your own certificates.   Hope this help.   Trevor Joerges - Original Message - From: Mundell, R. (Ronald) To: '[EMAIL PROTECTED]' Sent: Monday, October 06, 2003 6:12 AM Subject: How do on create a Certs? Hi   Is there a module

Re: Parsing Excel file

2003-09-23 Thread Trevor Joerges [SendMIME Software]
save Excel file using "|" instead of comma? I'm looking for it in Excel Help but no luck so far.   Greg - Original Message - From: Trevor Joerges [SendMIME Software] To: Greg Wardawy ; Perl-Win32-Users (E-mail) Sent: Tuesday, Septe

Re: Parsing Excel file

2003-09-23 Thread Trevor Joerges [SendMIME Software]
I would just save it from Excel using something other than a comma delimiter, because your NOTE field has commas in the data, and just split each line on the delimiter you choose like a pipe perhaps "|".   You will of course have to do some other regex magic to parse the NOTE fields into DATE

Re: Win32::Security and Permissions Inheritance

2003-09-20 Thread Trevor Joerges [SendMIME Software]
You might want to look at Win32::Perms from Dave Roth for this. www.roth.net Hope this helps. Trevor Joerges - Original Message - From: "Graham Ford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 3:49 PM Subject: Win32::Se

Re: newbie hlelp!

2003-09-15 Thread Trevor Joerges [SendMIME Software]
Try perldoc -f -M. my $modtime = -M file; # will get you the last modified time in days. Hope this help you. Trevor Joerges - Original Message - From: "alex p" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 3:41 PM Subject: newbi

Re: Is there something like $SIG{__PRINT__} = sub {

2003-09-11 Thread Trevor Joerges [SendMIME Software]
You can trap any of the Perl signals and send then you a custom routine like: # trap warning and die messages and exit $SIG{'__WARN__'} = \&trap; $SIG{'__DIE__'} = \&trap; sub trap { my ($message) = @_; print "\nERROR: $message\n"; exit (1); }

Re: Exchange and Net::SMTP::Multipart

2003-09-08 Thread Trevor Joerges [SendMIME Software]
Title: Exchange and Net::SMTP::Multipart For better control over the MIME body parts of a multipart SMTP message trying using MIME:::Entity which is part of the MIME-Tools bundle.   Trevor Joerges - Original Message - From: Vincent Ribeaud To: [EMAIL PROTECTED

Re: DBD::Pg

2003-08-20 Thread Trevor Joerges [SendMIME Software]
http://search.cpan.org/search?query=DBD-PG&mode=module Hope this helps. Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Ivan Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 10:54 PM Subject: DBD

Re: system ('time', $time) driving me nuts

2003-08-14 Thread Trevor Joerges [SendMIME Software]
What are you trying to do? Set the system time or get the system time? Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Michael D. Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 10, 2003 10:55 AM Subject:

Re: Extracting source from exe's

2003-08-11 Thread Trevor Joerges [SendMIME Software]
file would know). I doubt very much the process used to disassemble the EXE will be posted to any of these lists. Hope this helps. Trevor Joerges - Original Message - From: "Mark A. Chalkley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 04

Re: error of "use lib qw(...) ;"?

2003-08-10 Thread Trevor Joerges [SendMIME Software]
Is that a typo is there really supposed to be 2 "e" in "apachee-lib"? In your "Directory" directive in your http.conf file it only has one "e". Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Xu, Qiang (XSSC SG

Re: Help with regex

2003-08-01 Thread Trevor Joerges [SendMIME Software]
What are you trying to get the Epoch time from a date? If so you could also use the Date::Calc modules Date_to_Time function. Hope this helps. Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Will of Thornhenge" <[EMAIL PROTECTED]> To: &

Re: NET:SMTP Subject Method

2003-08-01 Thread Trevor Joerges [SendMIME Software]
looking for more control look at some of the other mail modules to use with Net::SMTP like Mail::Sender, Mail::Mailer, MIME::Lite, and MIME::Entity (part of MIME-Tools bundle). Hope this helps. Trevor Joerges SendMIME Software www.sendmime.com - Original Message - From: "Le

Re: Problem reading directory in perl via IIS

2003-07-21 Thread Trevor Joerges [SendMIME Software]
It is most likely due to the defaults rights assigned to the account that IIS runs as (IUSR_HOSTNAME usually). You would have to give read access on the directory to this account in order to accomplish this but be careful as you could obviously open a vulnerability. Trevor Joerges - Original

Re: PERLAPP.EXE Compile error

2003-06-27 Thread Trevor Joerges \[SendMIME Software\]
included. The same reasoning goes for the "Mac" modules which are there for portability to Macintosh systems but not required for your Win32 exe to function. Do you get any errors when you run the EXE? Trevor Joerges SendMIME Software www.sendmime.com - Original Message -

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
TED]> Sent: Tuesday, June 10, 2003 3:23 PM Subject: RE: SSL Daemon on Win32 > I'm doing this through CPAN completely. Do I have to go out of > CPAN do something and then try again? > > |> -Original Message- > |> From: [EMAIL PROTECTED] > |> [mailto:[EM

Re: easy newbie REGEX

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
You could "do" something like this: my $answer; do { print "Question: "; chomp ( $answer = ); print "Answer: $answer\n"; } while $answer !~ /^MDS[0-9]/; Trevor Joerges SendMIME Software www.sendmime.com [EMAIL PROTECTED] - Original Message - From: &

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
_file > SSLeay.obj : error LNK2001: unresolved external symbol > _SSL_add_file_cert_subjects_to_stac > k > SSLeay.obj : error LNK2001: unresolved external symbol > _SSL_CTX_get_ex_new_index > SSLeay.obj : error LNK2001: unresolved external symbol > _SSL_CTX_set_session_id_context &g

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
://ftp.microsoft.com/softlib/mslfiles/NMAKE15.EXE). Trevor Joerges SendMIME Software www.sendmime.com [EMAIL PROTECTED] - Original Message - From: "Floyd Russell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 2:15 PM Subject: RE: SSL Daemon on Win32 > S

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
. Net::SSL Net::SSLeay Net::Daemon::SSL IO::Socket::SSL Hope this helps. P.S. My spell checker tried to change SSLeay to Sleazy :-) Trevor Joerges SendMIME Software www.sendmime.com [EMAIL PROTECTED] - Original Message - From: "Floyd Russell" <[EMAIL PROTECTED]> To: <[EMA

Re: Problems in perl programming about sending email

2003-03-31 Thread Trevor Joerges \[SendMIME Software\]
;, Debug => 1 ) or die( "Cannot send e-mail: $!" ); Note: $server should be your SMTP MTA and $myserver should be your local hostname that is sending the e-mail. Hope this helps. Trevor Joerges SendMIME Software [EMAIL PROTECTED] - Original Message - From: "Glenn Li

Re: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Trevor Joerges
Net::FTP is probably what you want. Or depending on what you want to do with the files Net::Telnet might be useful. Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.

Re: signals - What's the alternative on Windows?

2002-09-30 Thread Trevor Joerges
Work SignatureHow about reading a logging level from a config file and parsing the config file on each monitor sampling? That way any changes to the config are effective at the point of the next sampling. Hope this helps. Kind regards, Trevor J. Joerges --

Re: Setting the actual directory with a Perl script.

2002-09-25 Thread Trevor Joerges
How about the Win32 specific function. It's not portable obviously: Win32::SetCwd(NEWDIRECTORY) [CORE] Sets the current active drive and directory. This function does not work with UNC paths, since the functionality required to required for such a feature is not available under Windows 95. Kind

Re: Net::ParseWhois

2002-09-21 Thread Trevor Joerges
I just use Net::Whois::Raw and it works just fine for basic whois domain queries: use Net::Whois::Raw; print whois('ibm.com'); Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl rrqpxfsfeZcyZQ,,riuuq://xxx.

Re: DESPERATE

2002-09-18 Thread Trevor Joerges
You have all kinds of options. I would recommend using the Win32::FileOp module unless of course you want the code to be portable to UNIX then you are going about it the right way but you need to change your code a bit: Try: opendir(INVOICES,'D:\ftproot\edi\test') || die "cannot open invoice: $!

Re: Using Perl to access Lotus Notes databases

2002-09-10 Thread Trevor Joerges
I've done it in the past using the Notes SQL Drivers and basic SQL syntax. What you will need is: - the drivers from the Lotus web site - the Notes Client - a Notes ID - an SQL module for Perl like Win32::ODBC or DBI::ODBC (I would recommend DBI). The Notes ID you use to access the Notes databas

Re: open2() under Win32

2002-09-02 Thread Trevor Joerges
Take a look at the IPC::Open2 man page: "perldoc IPC::open2" Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.dpn ,rrr8-) ;;s;\~;kpfshft;g;s;\%;tfoenjnf;g;y;B-x;A-w

Re: MS SQL Server Version

2002-08-13 Thread Trevor Joerges
If you have read accessto the SQL servers you should be able to simply open ODBC connections to them and issue the appropriate SQL command which I think is something like: SELECT @@VERSION Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWP

Re: Parsing Mime emails and Mail::Pop3Client

2002-06-07 Thread Trevor Joerges
Yes. It is called MIME-Parser and I believe it is part of the MIME-Tools bundle. It allows you to parse the messages either to disk or in memory. There are good examples in the docs. If you have trouble let me know and I can give you some examples. Hope this helps. Kind regards, Trevor J. Joerge

Re: test if file more than 5 seconds old?

2002-05-30 Thread Trevor Joerges
You could do the math on the decimal time returned by the "-M" file test. This should be portable too. Hope this helps. Kind regards, Trevor J. Joerges $_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.dpn ,rrr8-) ;

Re: Changing startup for a service.

2002-04-16 Thread Trevor Joerges
Roth Consulting's Win32::Daemon module allows you to install, remove and configure existing services. It has an explicit function called Win32::Daemon::ConfigureService that accepts a hash of configuration parameters including one of "start_type" which can be equal to "SERVICE_AUTO_START", "SERVIC

Re: Telnet on Win32

2002-04-10 Thread Trevor Joerges
A lot of UNIX systems print security warning information and other messages before you get to the actual logon prompt. Could your system be displaying anything like this that would cause the prompt to match prior to the command prompt? Turning on the Net::Telnet debugging will tell you where this

RE: A newish follow-up question about passing control

2002-03-25 Thread Trevor Joerges
Title: RE: A newish follow-up question about passing control The other option would be to modify your system command to redirect all stdout and stderr to "nul" by adding a "> nul" and "2>nul" at the end of your command. The problem here is really that web servers capture all STDOUT and STDERR

RE: using a command which includes spaces in the system() functio n

2002-02-25 Thread Trevor Joerges
Title: RE: using a command which includes spaces in the system() functio n Works fine for me on Win9x, 2000, XP, Solaris, Linux and HPUX. What command shell are you using? Trevor Joerges -Original Message- From: Carl Jolley [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25

RE: using a command which includes spaces in the system() function

2002-02-22 Thread Trevor Joerges
VS\Examdiff.exe', 'arg2', 'arg3', ...); # if there is more than one arg $result = system(@args); print "$result\n"; A little more code but much more reliable. Hope this helps. Trevor Joerges [EMAIL PROTECTED] -Original Message- From: Zeno Lee [mailto:

RE: Task Scheduler?

2002-01-16 Thread Trevor Joerges
Title: RE: Task Scheduler? Win32-Schedular is available from ROTH.NET. http://www.roth.net Kind regards, Trevor Joerges -Original Message- From: Mark G. Franz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Re: Task Scheduler

RE: UNIX to Windows using perl

2001-04-10 Thread Trevor Joerges
Title: RE: UNIX to Windows using perl Taken from the DBI pod: NAME DBI - Database independent interface for Perl SUPPORTED PLATFORMS Linux Solaris Windows --

RE: Perl with FTP

2001-03-07 Thread Trevor Joerges
Title: RE: Perl with FTP The Net::FTP module is part of the libnet module bundle. If you are using the latest version of ActivePerl it should have been installed by default. If you are using an older version or Perl you may have to install it manually. Using ppm try typing "ppm install li

RE: sendmail

2001-02-16 Thread Trevor Joerges
Title: I also wrote a command line mailer several years ago that I make publicly available from my web site. The exe is much larger than BLAT because it was written purely in Perl and compiled using Perl2Exe. It's very easy to use and execute from a CGI script and has a pretty good set of f

RE: Sending mail (Sorry for the long post)

2001-02-13 Thread Trevor Joerges
Title: RE: Sending mail (Sorry for the long post) Ron, It looks like the ISPs script is simply storing the different variables into a hash. Depending on how the rest of the mail script is reading and using these hash values you may need to escape the @. If you ISP is like mine they also

RE: Finding a file Name

2001-02-07 Thread Trevor Joerges
Title: RE: Finding a file Name The File::Find or File::Recurse modules should help you. Just look in the online documentation for examples. Kind regards, Trevor J. Joerges $_=q;$TTnzyUUifyIIz!;;s;z;xdl;g; y;x;b

RE: Version Number of Package

2001-02-02 Thread Trevor Joerges
Title: RE: Version Number of Package ppm query DBI -Original Message- From: Purcell, Scott [mailto:[EMAIL PROTECTED]] Sent: January 31, 2001 02:06 PM To: '[EMAIL PROTECTED]' Subject: Version Number of Package How does one get the version of a installed package? EG. If I want to

RE: Mime

2001-01-29 Thread Trevor Joerges
Title: RE: Mime Search the archive. I posted a reply to this exact question last month which included a pretty comprehensive MIME Content Type mapping which you can access via a hash when using MIME tools. Trevor J. Joerges NORTEL NETWORKS Workforce Productivity & Engineering 613-76

RE: DNS Address

2001-01-04 Thread Trevor Joerges
Title: RE: DNS Address Taken from the ActiveState online documentation: use Net::DNS;   $res = new Net::DNS::Resolver;   $query = $res->query("foo.com", "NS");   if ($query) {   foreach $rr ($query->answer) {   next unless $rr->type eq "NS";   print $rr->nsdname

RE: Help Installing Win32::GUI

2000-11-06 Thread Trevor Joerges
Title: RE: Help Installing Win32::GUI Worked like a charm. Thanks Jenda. Trevor J. Joerges http://members.home.net/tjoerges -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent: November 4, 2000 08:12 AM To: [EMAIL PROTECTED] Subject: RE: Help Installing Win32::