WinPhoto

2005-11-11 Thread Petr Vileta
Is here anybody who know where to get Tk::WinPhoto module for perl 5.6.1.638 on Windows-XP? I'm searching 3 days without success :-( Petr Vileta, Czech republic (My server reject all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.) ___

Re: Matching ip to Network

2005-11-11 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > A word on relative efficiencies of the two formulae listed below... I > ran timethese/cmpthese on the two, using a half-million iterations, ten > times. The "folded" formula came out faster six times, at an average of > 8.67% faster, while the long form won the race f

Re: Matching ip to Network

2005-11-11 Thread David Nicol
What, no bit-shifting?-- David L NicolI like that guy -- he once gave me a fish ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Directory Depth Cleanup

2005-11-11 Thread JPerlmutter
Bill- I'm afraid I was still confusing. The last thing you gave for getting a length for a single directory works fine. I'm using that. (modified slightly). i need the depth, ie: how many directories can be stacked. The problem that I have with the current code is that it will not clean. i get

Re: Directory Depth Cleanup

2005-11-11 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Bill- > > I'm afraid I was still confusing. The last thing you gave for getting a > length for a single directory works fine. I'm using that. (modified > slightly). i need the depth, ie: how many directories can be stacked. That's the second part of the script - insi

Re: Matching ip to Network

2005-11-11 Thread Deane . Rothenmaier
A word on relative efficiencies of the two formulae listed below... I ran timethese/cmpthese on the two, using a half-million iterations, ten times. The "folded" formula came out faster six times, at an average of 8.67% faster, while the long form won the race four times, but with an average of 12

Re: Directory Depth Cleanup

2005-11-11 Thread $Bill Luebkert
Try running this and see what you get - you can turn off either section by setting the if (1) { to if (0) { - mine failed at 248 and 238 : use strict; use warnings; use File::Path; my $base_dir = 'C:/fubar'; # base dir for test my $start_dir = 'C:/fubar/a1234567890'; # start here mk

Fwd: Perl2exe problem to create exe file from the file containing switch package.

2005-11-11 Thread Naveen Sriram
Note: forwarded message attached. Enjoy this Diwali with Y! India Click here--- Begin Message --- HI all   I am facing problem in creating the exe file under perl2exe package for the following  code. Problem #1:-File name switch.plCode is :use Switch;$val = a;switch

Tk Unicode Question

2005-11-11 Thread Conrad, Bill (ThomasTech)
Hi All Is Tk Unicode aware as far as displaying Unicode UTF-8 Text within Tk::Text and Tk::Text::SuperText and is there anything special that must be done? Thanks Bill Conrad ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To

the diverging IP thread(s)

2005-11-11 Thread JPerlmutter
Mr Raven- I did not know about the net::IP module or would have pointed to it initially Mr.Oak- i was thinking that what i gave was what was asked for: a start. i was thinking it would be modified to keep it in one format, never splitting, but doing a quad-capture. much more efficient and mu

Re: Directory Depth Cleanup

2005-11-11 Thread JPerlmutter
my bad. the missing sub routines: sub rep{ # this assumes two passed values, # first a message # second a flag for verbose (screen printing) print LOG "$_[0]\n"; if($_[1]){ print STDOUT "$_[0]\n"; } } sub sdirnm{ ## # this is for making sub d

Re: not equial?

2005-11-11 Thread Petr Vileta
- Original Message - From: "Axel Mock" <[EMAIL PROTECTED]> To: Sent: Friday, November 11, 2005 12:00 PM Subject: Re: not equial? to avoid problems with the accuracy of the floating point numbers during compare, I suggest to make the comparison "fault-tolerant" by comparing the differe

RE: not equial?

2005-11-11 Thread Brian Raven
Petr Vileta <> wrote: > - Original Message - > From: "Brian Raven" <[EMAIL PROTECTED]> > To: "ActivePerl" > Sent: Thursday, November 10, 2005 4:06 PM > Subject: RE: not equial? >> Either accept the errors that are inevitable in floating point >> calculations, or use integer arithmetic. For

Re: not equial?

2005-11-11 Thread Axel Mock
> - Original Message - > From: "Brian Raven" <[EMAIL PROTECTED]> > To: "ActivePerl" > Sent: Thursday, November 10, 2005 4:06 PM > Subject: RE: not equial? > > > > Petr Vileta <> wrote: > >> I don't know if this a bug or feature, but two numbers are not equial > >> :-) > >> > >> my $

RE: Matching ip to Network (also addresses "Re: network matching ->regexp")

2005-11-11 Thread Brian Raven
Brian H. Oak <> wrote: > Hi all, > > As a network engineer who eventually figured out how amazingly useful > Perl could be in my work, my opinion about the correct solution to > this problem is a little different than what I've seen offered here: > any program written to work with network attrib