Re: Managing two versions of Perl

2010-11-19 Thread Chap Harrison
On Nov 19, 2010, at 9:55 AM, Chap Harrison wrote: > On Nov 19, 2010, at 8:03 AM, Brian Fraser wrote: > >> http://www.effectiveperlprogramming.com/blog/750/comment-page-1#comment-78 > > Thanks! Also by brian d foy, I see. And he provides a link ... > > http://www.effectiveperlprogramming.com/bl

Re: finding interspersed transaction start and end times in log files

2010-11-19 Thread Jim Gibson
On 11/19/10 Fri Nov 19, 2010 11:25 AM, "Al Oomens" scribbled: > I am trying to write a script that will find the start and end times > for specific transactions, and calculate the elapsed time for each > transaction. I am looking for the "Start", grabbing the transaction > number, then looking

Re: finding interspersed transaction start and end times in log files

2010-11-19 Thread Shawn H Corey
On 10-11-19 02:25 PM, Al Oomens wrote: How would you go about this in Perl? Also, it is possible that there might be a Start in one log file, and the matching End would be in the next log file. How do you account for those situations. Since each transaction number is unique, I would use it as

finding interspersed transaction start and end times in log files

2010-11-19 Thread Al Oomens
I am trying to write a script that will find the start and end times for specific transactions, and calculate the elapsed time for each transaction. I am looking for the "Start", grabbing the transaction number, then looking for the matching "End", which works fine most of the time. The problem I a

Re: Managing two versions of Perl

2010-11-19 Thread Chap Harrison
On Nov 19, 2010, at 8:03 AM, Brian Fraser wrote: > On Fri, Nov 19, 2010 at 7:18 AM, Shlomi Fish wrote: > >> Where do you see people speak against perlbrew? >> > > Not the OP, but here you go: > http://www.effectiveperlprogramming.com/blog/750/comment-page-1#comment-78 Thanks! Also by brian

Re: Managing two versions of Perl

2010-11-19 Thread Chap Harrison
On Nov 19, 2010, at 3:18 AM, Shlomi Fish wrote: > On Friday 19 November 2010 06:14:19 Chap Harrison wrote: >> Perlbrew was mentioned, but it doesn't seem to be unanimously considered a >> good solution to my problem. > > Where do you see people speak against perlbrew? See brian d foy's reply at

Re: Managing two versions of Perl

2010-11-19 Thread shawn wilson
2010/11/19 Alexey Mishustin > > 11/19/2010, "Chap Harrison" вы писали: > > >Hi folks, > > > >The current version of Ubuntu Linux I'm using comes with Perl 5.10.1, but > I want to install and develop under 5.12.2. From what I've read in > Perlmonks and Stackoverflow, it's not difficult to instal

Re: Managing two versions of Perl

2010-11-19 Thread Brian Fraser
On Fri, Nov 19, 2010 at 7:18 AM, Shlomi Fish wrote: > Where do you see people speak against perlbrew? > Not the OP, but here you go: http://www.effectiveperlprogramming.com/blog/750/comment-page-1#comment-78 Also, for the OP: Same link! Sorta. Brian.

Re: Managing two versions of Perl

2010-11-19 Thread Alexey Mishustin
11/19/2010, "Chap Harrison" вы писали: >Hi folks, > >The current version of Ubuntu Linux I'm using comes with Perl 5.10.1, but I >want to install and develop under 5.12.2. From what I've read in Perlmonks >and Stackoverflow, it's not difficult to install a separate version - all it >needs is

Re: Managing two versions of Perl

2010-11-19 Thread Shlomi Fish
On Friday 19 November 2010 06:14:19 Chap Harrison wrote: > Hi folks, > > The current version of Ubuntu Linux I'm using comes with Perl 5.10.1, but I > want to install and develop under 5.12.2. From what I've read in > Perlmonks and Stackoverflow, it's not difficult to install a separate > version

Re: Accessing file system from CGI

2010-11-19 Thread Shlomi Fish
On Thursday 18 November 2010 16:32:08 Mike Martin wrote: > Has anyone got any approaches that enable cgi scripts to access the > host filesystem (readonly) > There shouldn't be any problem for a CGI script to access the filesystem as long as the user the CGI is running under has the necessary UN

Re: Accessing file system from CGI

2010-11-19 Thread Jeff Pang
You may make the filesystem readable to httpd's running user like nobody. Perl has no way doing something more effective. 2010/11/18 Mike Martin : > Has anyone got any approaches that enable cgi scripts to access the > host filesystem (readonly) > > I am working on a doc viewer app (intended for

Accessing file system from CGI

2010-11-19 Thread Mike Martin
Has anyone got any approaches that enable cgi scripts to access the host filesystem (readonly) I am working on a doc viewer app (intended for release as part of a suite), but I am hitting the "permission denied" issue. This applies to ls, opendir and find. any ideas appreciated -- To unsubscri