Re: how to find path up to installled modules @ sun solaris box

2010-08-11 Thread Chaitanya Yanamadala
Try this one perl -MFile::Find=find -MFile::Spec::Functions -lwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' On Tue, Aug 10, 2010 at 5:07 PM, ojha.la...@gmail.com wrote: > how to find path up to installled modules @ sun solaris box > > > -- > To unsubscribe,

chat server example

2010-08-11 Thread Kammen van, Marco, Springer SBM NL
Hi All, In this commonly used example I don't get something... Why does it always echo the local ip address, even when people connected from other systems are talking? So if ip [1.2.3.4] talks it still echo's [5.6.7.8] instaid of [1.2.3.4] I don't get that? In this example you can neve

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread C.DeRykus
On Aug 10, 8:43 am, r...@i.frys.com (Ron Bergin) wrote: > While doing some benchmark testing on both Windows and Linux, the > results of the exact same code was reversed.  A slight difference in > the percentages is understandable, but I fail to see why the results > would be reversed.  Could someo

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread rkb
C.DeRykus wrote: > On Aug 10, 8:43 am, r...@i.frys.com (Ron Bergin) wrote: [snip] >> >> sub matt { >>     my $now_date_epoch = time(); >>     my $BDtarget = ($now_date_epoch - 5); >>     my >> ($Bsec,$Bmin,$Bhour,$Bmday,$Bmon,$Byear,$Bwday,$Byday,$Bisdst) >> = localtime($BDtarget); >>     $Byear =

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread Chas. Owens
On Wed, Aug 11, 2010 at 08:39, wrote: snip > I haven't profiled it as Chas suggested, but I suspect the > issue is due to the difference in perl versions. > > 5.8.8 on Linux > 5.10.0 on Windows. > > My theory is that 5.10.x implemented some optimizations > that improved the speed of strftime. sni

problem while installing bugzilla

2010-08-11 Thread perl pra
Hi All, I am having a problem while isntalling Bugzilla , Checksetup.pl throws errors and exits.Below is the detail. when I run checksetup.pl in bugzilla folder I get the following error, Though I have installed latest DBD-mysql which is available in CPAN. ERROR ---

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread Chas. Owens
On Wed, Aug 11, 2010 at 08:39,   wrote: snip > I probably should have mentioned that the "Matt" code is > what is currently being used in production and I need to > profile/benchmark it against different approaches. snip Just getting rid of the stupid in your production code increases the speed by

Re: Accessing array from Perl & DBI using Template Toolkit

2010-08-11 Thread Steve Bertrand
On 2010.08.11 00:15, MySelf rdtan.net wrote: > On 10/08/10 4:49, Dermot wrote: >> I think you might be getting a bit confused here. TT requires >> references for it's parameters variable, so yes array, hash references >> (or any reference that returns a list) but that is different from how >> you

perl DBI problem while installing bugzilla

2010-08-11 Thread perl pra
> Hi All, > > I am having a problem while isntalling Bugzilla , Checksetup.pl throws > errors and exits.Below is the detail. > > when I run checksetup.pl in bugzilla folder I get the following error, > Though I have installed latest DBD-mysql which is available in CPAN. > > ERROR

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread rkb
Chas. Owens wrote: > On Wed, Aug 11, 2010 at 08:39, wrote: > snip >> I haven't profiled it as Chas suggested, but I suspect >> the >> issue is due to the difference in perl versions. >> >> 5.8.8 on Linux >> 5.10.0 on Windows. >> >> My theory is that 5.10.x implemented some optimizations >> that i

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread Chas. Owens
On Wed, Aug 11, 2010 at 09:28, Chas. Owens wrote: > On Wed, Aug 11, 2010 at 08:39,   wrote: > snip >> I haven't profiled it as Chas suggested, but I suspect the >> issue is due to the difference in perl versions. >> >> 5.8.8 on Linux >> 5.10.0 on Windows. >> >> My theory is that 5.10.x implemented

Re: Opposite benchmark results between Linux and Windows

2010-08-11 Thread rkb
Chas. Owens wrote: > On Wed, Aug 11, 2010 at 08:39,   wrote: > snip >> I probably should have mentioned that the "Matt" code is >> what is currently being used in production and I need to >> profile/benchmark it against different approaches. > snip > > Just getting rid of the stupid in your produc

Re: problem while installing bugzilla

2010-08-11 Thread Shlomi Fish
On Wednesday 11 August 2010 16:39:52 perl pra wrote: > Hi All, > > I am having a problem while isntalling Bugzilla , Checksetup.pl throws > errors and exits.Below is the detail. > > when I run checksetup.pl in bugzilla folder I get the following error, > Though I have installed latest DBD-mysql