Re: Win32::Process-kill() macro not defined

2005-03-02 Thread $Bill Luebkert
waiting for notification by the OS via a signal when the child dies. You can use 'threads::shared' to share a vrbl or use a semaphore or mutex (Win32::Semaphore Win32::Mutex) to handle your thread control. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: simple if?

2005-03-02 Thread $Bill Luebkert
to do it. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers

Re: simple if?

2005-03-02 Thread $Bill Luebkert
was looking for abcde? Sounds good - why are you asking me - can't you type that into vim and run it ? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth

Re: parse gif/bmp w/out modules

2005-02-28 Thread $Bill Luebkert
) and is a pure Perl implementaion I believe. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: Breaking up a string

2005-02-27 Thread $Bill Luebkert
) =~ s/^.*[\\\/]//; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl

Re: Find and replace _ with whitespace

2005-02-27 Thread $Bill Luebkert
using the substr function but I do not believe that is the appropriate function. The strings will_look_like_this and I want them to will look like this $str =~ tr/_/ /; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto

Re: Breaking up a string

2005-02-27 Thread $Bill Luebkert
MJG wrote: Ok, next dumb question If I want the path and not the EXE file, how would this play out? Thanks again. MJG -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Sunday, February 27, 2005 11:57 AM To: MJG Cc: perl-win32-users

Re: How to selectively strip tags from text

2005-02-24 Thread $Bill Luebkert
would need to supply a sample source file and an expected output file before I could make any RE suggestions. You would need to include all possible options of tags you want to either remove or leave. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Can't use $\ to force line termination to 0x0a

2005-02-23 Thread $Bill Luebkert
and had to disable it to get your code to fail. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: PGP for perl

2005-02-22 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: Hi all, Any good hints for PGP solutions? I need to ftp a file but need to encrypt it first using PGP. Does it have to be PGP ? I have an RSA solution that may suffice. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

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

2005-02-21 Thread $Bill Luebkert
Learned to Stop . Worrying and Love the Bomb; print $x, \n; for my $style (qw( sentence title highlight )) { print autoformat($x, { case = $style }), \n; } -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Suspending threads

2005-02-21 Thread $Bill Luebkert
are not released by a continue operation if they are suspended. See Also SuspendThread -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: removing characters from a filename / string?

2005-02-20 Thread $Bill Luebkert
. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Concatenating 2 variables.

2005-02-19 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: :ping broken in 5.8.6?

2005-02-16 Thread $Bill Luebkert
. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: :ping broken in 5.8.6?

2005-02-16 Thread $Bill Luebkert
be a reference to a M$ bug report I think - that should explain it. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: Need a compiled Perl module

2005-02-14 Thread $Bill Luebkert
: Randy Kobes [EMAIL PROTECTED] -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: Intercept IE or Netscape

2005-02-08 Thread $Bill Luebkert
scraping the internet a piece of cake! Thsi may be useful : http://schmerg.pwp.blueyonder.co.uk/HttpSniffer.pl.txt -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle

Re: Perl-Win32-Users Digest, Vol 12, Issue 25

2005-01-28 Thread $Bill Luebkert
' since perl is on my path. Not much harder than typing 'script.pl'. Using a UNIX shell though you can have a shebang line and still get it to work with just 'script.pl' - I usually don't bother though since it defeats file completion in the shell. -- ,-/- __ _ _ $Bill Luebkert

Re: error in Storable.pm

2005-01-28 Thread $Bill Luebkert
{...} called at (eval 1) line 662 PerlEx::Precompiler::Execute('D:\EasyIEP\wwwroot\easyiep.plx', 'op=doreportCustomerName=testingSessionID=944158081') called at -e line 0 eval {...} called at -e line 0 -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Welcome to the Perl-Win32-Users mailing list (Digest mode)

2005-01-26 Thread $Bill Luebkert
installed the Activestate Perl, you should use PPM to do your installs. Just type ppm or ppm3 and search for net-telnet and install one of the responses. You can add 'http://theoryx5.uwinnipeg.ca/ppms/' as a repository. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: How to use #! perl to directly run perl script on Win32 platform?

2005-01-21 Thread $Bill Luebkert
the Perl binary with .pl files so get a similar effect (for .pl files at least). -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: Win32-GUI

2005-01-19 Thread $Bill Luebkert
is version 1.0 - try adding this repos: http://www.bribes.org/perl/ppm/ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: LWP::Simple could not retrieve issue

2005-01-17 Thread $Bill Luebkert
print $content; } -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic

Re: [OT] Problem with Winzip

2005-01-15 Thread $Bill Luebkert
and toggle it and see if that helps. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com

Re: Windows please??

2005-01-15 Thread $Bill Luebkert
- but that would just be one window at a time. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: Win32::API memory leak problem

2005-01-15 Thread $Bill Luebkert
-Call($searchHandle, $FileInfo)); # # if (Win32::GetLastError() != ERROR_NO_MORE_FILES) { # die $^E; # } $FindClose-Call($searchHandle) or die $^E; } -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE

Re: Sleep()

2005-01-14 Thread $Bill Luebkert
); # or print sleeping 2\n; Win32::Sleep($usecs / 1000); } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: LWP::Simple could not retrieve issue

2005-01-14 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Discrepancy on time reported by system and localtime

2005-01-13 Thread $Bill Luebkert
seems to be giving me PST. I've overcome this for now by using gmtime. But that sucks. +8 *is* PT. Do you have your TZ environment vrbl set by any chance ? My other machines work fine, whats up with this particular one? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Discrepancy on time reported by system and localtime

2005-01-13 Thread $Bill Luebkert
or WST. maybe something like: 'SST-8SDT' -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: Newbie: RegEx portions of a string into an array

2005-01-10 Thread $Bill Luebkert
;). -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: What is the difference between wait and sleep

2005-01-09 Thread $Bill Luebkert
for a child process to terminate - not needed in many cases since a system call for example would include a wait by default. sleep just delays execution for the requested number of seconds. Read perlfunc man page/HTML. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: getsockopt

2005-01-06 Thread $Bill Luebkert
to unpack the response. Have tried: C,CC,c,cc,I,II,I,ii,V,v,N,N etc... Actually it returns an int, so i would be more correct than l. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o

Re: getsockopt--Solution on Win32

2005-01-06 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Name-conflict (head) between ppt and lwp on Windows

2005-01-05 Thread $Bill Luebkert
is emulating) - so what's the point ? You can rename one or use a full path to get the one that's not first on your path. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o

Re: Name-conflict (head) between ppt and lwp on Windows

2005-01-05 Thread $Bill Luebkert
Suresh Govindachar wrote: $Bill Luebkert Sent on 05 Jan 2005 12:09:39 -0800: Suresh Govindachar wrote: Hello, The ppt (Unix Reconstruction Project 0.14) and lwp have three files with the same name (ignoring case): on Windows: perl/bin/HEAD perl/bin/HEAD.bat perl/html

Re: Name-conflict (head) between ppt and lwp on Windows

2005-01-05 Thread $Bill Luebkert
understand why the html file need not be renamed -- it (HEAD.html) did get overwritten (by a different head.html). I didn't know you had used PPM to install PPT. I doubt there are HTML files for PPT, but maybe when you use PPM there are. -- ,-/- __ _ _ $Bill LuebkertMailto

Re: Delta_DHMS

2005-01-04 Thread $Bill Luebkert
= int $delta / 60; $delta %= 60; my $secs = $delta; print Days: $days, Hours: $hours, Minutes: $mins, Seconds: $secs\n; __END__ Date::Calc::Delta_DHMS(): not a valid date at ./time.pl line 10. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Backticks and the cmd.exe shell

2005-01-03 Thread $Bill Luebkert
-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth

Re: Win32::OLE::GetActiveObject problem

2004-12-31 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Win32::OLE::GetActiveObject problem

2004-12-30 Thread $Bill Luebkert
any existing IE browsers when run on 3 other PC's, all running the same version of Windows (XP Professional), Perl (ActivePerl 5.8.6), and IE (6.0). Could this be some kind of Windows security configuration issue? Share some minimal code snippet. -- ,-/- __ _ _ $Bill

Re: Another unhandled exception question

2004-12-28 Thread $Bill Luebkert
I've tried Call(), Call(''), Call(1), and others but all throw the exception. Does anyone see what I have done wrong? TIA. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o

Re: Perl-Win32-Users Digest, Vol 11, Issue 14

2004-12-28 Thread $Bill Luebkert
. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Unhandled exception while calling a DLL using Win32::API

2004-12-27 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Adding/Subtracting Dates

2004-12-23 Thread $Bill Luebkert
) / 86400; print Remaining days = $rem_days\n; } else { print Current date not a future date\n; } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle

Re: Adding/Subtracting Dates

2004-12-23 Thread $Bill Luebkert
dates\n; } -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers

Re: Adding/Subtracting Dates

2004-12-23 Thread $Bill Luebkert
Ted Schuerzinger wrote: $Bill Luebkert graced perl with these words of wisdom: Jones Robert Civ TTMS Keesler wrote: A better option would be to use the Date::Calc module. That's your opinion - I seldom if ever need to use any of the Date modules. If you had said 'another option', I

Re: Writing a Binary File

2004-12-23 Thread $Bill Luebkert
stopped. I thought it had something to do with buffering, so I added $|=1; But that didn't help. Any ideas?? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle

Re: Tieregistry : display FILETIME

2004-12-22 Thread $Bill Luebkert
; # in case prior to 1970/01/01 return $epoch; } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: Using regular expressions to replace file text?

2004-12-22 Thread $Bill Luebkert
portion in quotes: perl -i.bak -pe s/^ext$/HARP/m fred.txt Try that and let us know. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: Binary Data File Question

2004-12-19 Thread $Bill Luebkert
to reverse the fields and then to convert to float). You could also use bit shifting, or'ing and and'ing to reverse the fields if they're not in native order. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL

Re: Binary Data File Question

2004-12-19 Thread $Bill Luebkert
(truncated if need be, but without changing the format) and supply the offset and length into the data to the field in question and I'll be glad to verify code to extract the float. PS: Drop the return receipt -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: how to send mail from Win32 Perl using SMTP authentication?

2004-12-18 Thread $Bill Luebkert
method, but not sure if it's dependent on Authen::SASL or not. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: Perl for 64 bit XP

2004-12-16 Thread $Bill Luebkert
run a 32-bit Perl. Just my guess. :) -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http

Re: black box

2004-12-16 Thread $Bill Luebkert
uses the switches on the shebang line after the path. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread $Bill Luebkert
: print trtd$var1/td/tr\n; ) -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com

Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread $Bill Luebkert
Greg Wardawy wrote: From: $Bill Luebkert [EMAIL PROTECTED] Greg Wardawy wrote: Thanks a lot $Bill. I will try all of your suggestions. So, there is no way to write the script, execute it as a SSI inside the cell of the table: ---SNIP--- tr th width=60 scope=row1/th td width=180

Re: black box

2004-12-15 Thread $Bill Luebkert
Lasher, Brian wrote: Is there any way to keep the black command-prompt looking box from popping up when executing perl script on win 32 platform? Please post in plain text. Have you tried using wperl instead off perl ? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL

Re: black box

2004-12-15 Thread $Bill Luebkert
or some such. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers

Re: sort question

2004-12-15 Thread $Bill Luebkert
ZABC How can I do this ? Taken directly from sort func on perlfumc man page : # now case-insensitively @articles = sort {uc($a) cmp uc($b)} @files; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE

Re: black box

2004-12-15 Thread $Bill Luebkert
Ted Schuerzinger wrote: $Bill Luebkert graced perl with these words of wisdom: command prompt wperl perlscript.pl The shebang line version you're trying to do would require a separate file assoc of wperl to say .plw or some such. Isn't the command prompt part of the black box

Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread $Bill Luebkert
value to the cell avoiding sending the cell with a new value. I'm probably missing why you would need to do it though. Why not just hardcode it ? Is the value changing somehow ? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE

Re: black box

2004-12-15 Thread $Bill Luebkert
to have any effect. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl

Re: regexp question

2004-12-14 Thread $Bill Luebkert
-- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: regexp question

2004-12-14 Thread $Bill Luebkert
by a = -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: Process Creation, Redirect Standard Handles

2004-12-13 Thread $Bill Luebkert
this should be so? Is it a bug in Win32::API::Struct or ::Type? It's a bug. On or about line 155 in Win32::API::Type.pm, you will find : if($is_pointer and $packing eq 'c') { One fix is to change it to : if ($is_pointer and lc $packing eq 'c') { -- ,-/- __ _ _ $Bill Luebkert

Re: Running scheduled task without showing the window

2004-12-10 Thread $Bill Luebkert
without showing the window? It's very unnerving. Have you tried substituting wperl for perl ? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic

Re: program probe

2004-12-09 Thread $Bill Luebkert
: netstat will show ports in use and has an option to show which process sysyinternals has a program called tcpview that will show you what processes have what ports in use. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE Collectibles

Re: get a list of installed programs and path to exe.

2004-12-09 Thread $Bill Luebkert
support WMI. die Unrecognized base Windows version $base_ver; } } return $ret; } #- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE

Re: Is there a way to execute Windows/DOS command-line executable remotely from a linux box?

2004-12-09 Thread $Bill Luebkert
? I've never seen a DOS utility that hasn't already been done in UNIX. What is the utility ? THe easiest solution is to use a UNIX equivalent. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED

Re: Blocking ports

2004-12-08 Thread $Bill Luebkert
think opening a listening socket on that port should handle it. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: drag-n-drop problem with build 810

2004-12-02 Thread $Bill Luebkert
-$method($dest_x, $dest_y, # line 164 $dest_x + 40, $dest_y + 40, -fill = $fill, ); make_bindings $c_dest, $id; } # end move_bbox -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto

Re: Internal (bit) representation of floating point numbers

2004-11-28 Thread $Bill Luebkert
order 1 bit $x =~ /(.)(.{11})(.{52})/; printf %.6e : \n, $num; print sign=$1\nexp=$2\nman=$3\n; } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL

Re: Win32::Process::Info

2004-11-26 Thread $Bill Luebkert
', 'MaximumWorkingSetSize', ) { print $_ = , $info-{$_} || 'undef', \n; } print \n; } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval

Re: some error with the code

2004-11-26 Thread $Bill Luebkert
(@localID) { if ($matchID eq $_) { return ($person{name}-{$matchID}, $person{age}-{$matchID}, $person{school}-{$matchID}); } } return No such Id in database; } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Reading unix realtime logfile from windows

2004-11-24 Thread $Bill Luebkert
:) Easiest thing would be to connect to a webserver on the AIX machine and use CGI to parse the log file. If you can't use a webserver, you'll need to either have a daemon running and connect with sockets or use rsh to run a command on AIX. -- ,-/- __ _ _ $Bill Luebkert

Re: Binary opérations with PERL

2004-11-23 Thread $Bill Luebkert
more sense : my $xx = 0x1011; $xx |= 0xFF01; $xx = 1; printf %016b\n, $xx; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: STDERR STDOUT to screen and file.

2004-11-19 Thread $Bill Luebkert
, and don't forget: I'm trying to do this on a windows system, not unix. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: what does the '? and ': do?

2004-11-18 Thread $Bill Luebkert
) ? ($a += 10) : $a) += 2 Rather than this: ($a % 2) ? ($a += 10) : ($a += 2) That should probably be written more simply as: $a += ($a % 2) ? 10 : 2; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE Collectibles

Re: More Win32::API Help....

2004-11-17 Thread $Bill Luebkert
Error is %d - %s\n, Win32::GetLastError (), Win32::FormatMessage (Win32::GetLastError ()); } else { print Data::Dumper-Dump([$FileInfo], [qw($FileInfo)]); } __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE

Re: More Win32::API Help....

2004-11-17 Thread $Bill Luebkert
have to try alternate methods for everything until you find something that works. :) -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: Remote Stat - Slow??

2004-11-17 Thread $Bill Luebkert
-= 11644473600; # change offset to jan 1, 1970 return $vt; } -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: Remote Stat - Slow??

2004-11-17 Thread $Bill Luebkert
Ken Cornetet wrote: It's passed as a string. And that would work how with his incoming file time as 2 32-bit integers ? From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 12:02 PM To: Ken Cornetet Cc: [EMAIL PROTECTED] Subject: Re: Remote Stat - Slow

Re: Max Number of threads?

2004-11-17 Thread $Bill Luebkert
John Serink wrote: Hi All: Anyone know what the maximum number of threads a Win32 perl app can spawn? Too easy - just write a loop and count them yourself. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto

Re: UN-redirecting STDOUT.

2004-11-16 Thread $Bill Luebkert
; # kill off tee and resort to STDOUT print Written to STDOUT\n; __END__ -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: Redirecting output (print) to stdout

2004-11-15 Thread $Bill Luebkert
\n); } else { print Some Output\n; } where you print to a socket in one case or STDOUT in another. A third possiblity would be to use a sub to handle it - like my_print instead of print and do the test there. } . . . print $socket (Some Output\n); -- ,-/- __ _ _ $Bill

Re: threads::shared

2004-11-12 Thread $Bill Luebkert
}; } } return \%copy; } } -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: 12 November 2004 03:00 To: Paul Sobey Cc: [EMAIL PROTECTED] Subject: Re: threads::shared Paul Sobey wrote: I'm using XML::Simple to read in two files, and generate two

Re: Folder manipulation (Win32)

2004-11-12 Thread $Bill Luebkert
to follow) or write a recursive directory walker (I have one if you want it, but I would just use File::Find). -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle

Re: threads::shared

2004-11-11 Thread $Bill Luebkert
of each value? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl

Re: A regular expression question

2004-11-11 Thread $Bill Luebkert
=~ /^.+-(.+)-.+$/); So, assuming you want the middle part (ie, the section between the two dashes), use something like the following (untested): snip my ($string, @line); $string = sct-1.62-1; @line = split /-/, $string; print $line[1]; /snip -- ,-/- __ _ _ $Bill

Re: Need help with splitting multi-line var

2004-11-10 Thread $Bill Luebkert
=us-ascii). How can I get each one of these lines into a array element? -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com

Re: UNIX utilities in Perl

2004-11-10 Thread $Bill Luebkert
mean they function _exactly_ like their Unix counterparts. Of course, the cygwin project another poster mentioned is also a good bet, as it gives you all the unix tools and shells, and even compilers, etc. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Win32::OLE - Threadsafe?

2004-11-10 Thread $Bill Luebkert
- Woohoo! Got Result from 2 - Woohoo! Got Result from 3 - Woohoo! Got Result from 4 - Woohoo! Free to wrong pool 1a8c140 not 225f90 during global destruction. Segmentation fault(v5.8.3 B809 on XP Pro SP2) -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: UNIX utilities in Perl

2004-11-10 Thread $Bill Luebkert
. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers stuff

Re: File::Copy in append mode

2004-11-09 Thread $Bill Luebkert
... open IN, 'file1' or die ... while (IN) { print OUT; } close IN; close OUT; -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http

Re: Extracting Images Question

2004-11-06 Thread $Bill Luebkert
wise. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o // // Castle of Medieval Myth Magic http://www.todbe.com/ -/-' /___/__/_/_http://dbecoll.tripod.com/ (My Perl/Lakers

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
uraemic uraline uralite uranide uranine uranite urazine uredial uremias urinate vaurien viruela End grep 79 matches -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
{ next; } print; } These are the ones I found for your example: stretta tartest tatters -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED] / ) /-- o

Re: Regex question: Multiple instances of the same character

2004-11-06 Thread $Bill Luebkert
Ted Schuerzinger wrote: $Bill Luebkert graced perl with these words of wisdom: Ted Schuerzinger wrote: I'm an avid, but not very good, Scrabble player. Last night, I was playing, and suffered a major brain cramp when I got a rack of four vowels *and* two blanks: AEIUR**. I couldn't

<    1   2   3   4   5   6   7   8   9   10   >