RE: Time::HiRes problems

2004-06-16 Thread Beckett Richard-qswi266
Ooh, I wrote something similar. Is this any use to you? use Time::HiRes qw( usleep gettimeofday tv_interval ); ... $start = [gettimeofday()]; if ($ping -> ping ($host, $timeout)) {$success = 1} $end = [gettimeofday()]; $interval = (tv_interval ($start, $end) * 1000); # $interval in ms. R. -O

RE: Time::HiRes problems

2004-06-16 Thread Beckett Richard-qswi266
Hi Jan, can you help with this confusion, please? c:\>ppm query Time-HiRes Querying target 1 (ActivePerl 5.8.1.807) 1. Time-HiRes [1.59] High resolution alarm, sleep, gettimeofday, interval timers c:\>perl -MTime::HiRes -e"print $Time::HiRes::VERSION" 1.52 c:\>perl -MTime::HiRes -e"print Time::

RE: Time::HiRes problems

2004-06-16 Thread John Deighan
At 06:56 AM 6/16/2004, Beckett Richard-qswi266 wrote: Hi Jan, can you help with this confusion, please? c:\>ppm query Time-HiRes Querying target 1 (ActivePerl 5.8.1.807)   1. Time-HiRes [1.59] High resolution alarm, sleep, gettimeofday, interval timers c:\>perl -MTime::HiRes -e"print $Time::H

RE: Time::HiRes problems

2004-06-16 Thread John Deighan
At 06:56 AM 6/16/2004, Beckett Richard-qswi266 wrote: Hi Jan, can you help with this confusion, please? etc. OK, I'd like to upgrade my Time::HiRes library using ppm (3.1). The newest version is in the winnipeg repository, but not in ActiveState's repository. But ppm's help isn't working, so

Linux and Perl

2004-06-16 Thread Doug Loud
I would like to test some of my perl code from Win2000 on a Linux box.   Does anyone have any thoughts/opinions on which Linux version would work best and what else I might need?   Thanks!   Douglass N. Loud President Integrated Information Systems, Inc. 292 Fifth Avenue New York, NY 10

RE: Time::HiRes problems

2004-06-16 Thread Jan Dubois
On Wed, 16 Jun 2004, Beckett Richard-qswi266 wrote: > Hi Jan, can you help with this confusion, please? > > c:\>ppm query Time-HiRes Querying target 1 (ActivePerl 5.8.1.807) > 1. Time-HiRes [1.59] High resolution alarm, sleep, gettimeofday, > interval timers > > c:\>perl -MTime::HiRes -e"pri

RE: Time::HiRes problems

2004-06-16 Thread Beckett Richard-qswi266
> The problem is that for Perl 5.8 Time::HiRes is a core > module, installed > in Perl\lib. Installing another version via PPM into Perl\site\lib > doesn't do anything for you unless you change the order of directories > in @INC. Or you have to move the module into the lib tree manually > (don't f

Re: Linux and Perl

2004-06-16 Thread Chris Purcell
> I would like to test some of my perl code from Win2000 on a Linux box. > > Does anyone have any thoughts/opinions on which Linux version would work > best and what else I might need? > Any Linux distro and version would be fine. As long as you aren't using anything specific to WinBlows in your

Pull down menu re: Win32::GUI::Menu?

2004-06-16 Thread Lawrence F. Durfee
I am trying to create a pull down menu with multiple options to select. I believe it is done with Menu() and AddMenuItem(), but I can't find any documentation. Can anyone help? Thanks,  LarryD ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsu

Re: Pull down menu re: Win32::GUI::Menu?

2004-06-16 Thread ncaa-hoops
How about trying Perl/Tk??? $mw = MainWindow->new ; $mw->geometry( "1000x640+10+0" ) ; ##whatever size you want $mw->configure ( -menu => my $menubar = $mw->Menu ) ; my $file =$menubar->cascade ( -label => 'File' , -menuitems => file_menuitems ) ; my $edit =$menubar->cascade ( -label =