Re: [Boston.pm] regex - how to match the last CR+LF

2004-06-23 Thread Ranga Nathan
Thanks for all the responses I tried all of that earlier. However I could not get it to match on the CRLF at the end. It is a multiline string. So I even tried the 's' switch. The s/\s+$// does not match. Perhaps \cJ is not white space? Remember I had \cM\cJ at the end. I tried

[Boston.pm] Uri...

2004-06-23 Thread Bob Mariotti
Uri; Thanks for the suggestion. I think I am understanding it so early this morning but my brain is tired. Here's what the modified code products for a test: 20 2D 30 30 30 31 32 33 34 35 20 2D 30 30 31 32 * -00012345 -0012* 0010 33 34 F5 20 0A 00 00 00 00 00 00 00 00 00 00 00 *34.

Re: [Boston.pm] sprintf sign handling question?

2004-06-23 Thread John Saylor
hi not having seen the code, this is a guess. ( 04.06.22 22:54 -0400 ) Bob Mariotti: I have a perl program that extracts data from a report file. Some of the fields (columns) are monetary with a trailing sign (i.e: 1,234.56-). However, I am having problems with sign handling. Can anyone

Re: [Boston.pm] Linux cluster and configuration management

2004-06-23 Thread Ian Langworth
I can't speak for web-based management, but I can tell you that we're using Radmind and FAI for to manage our Linux workstations. As for monitoring, we might use Big Sister, but look into Nagios as well. http://crew.ccs.neu.edu/wiki/Linux On Tue, 22 Jun 2004 17:39:45 -0700, Ranga Nathan

Re: [Boston.pm] Linux cluster and configuration management

2004-06-23 Thread Chris Devers
On Wed, 23 Jun 2004, Ian Langworth wrote: I can't speak for web-based management, but I can tell you that we're using Radmind and FAI for to manage our Linux workstations. As for monitoring, we might use Big Sister, but look into Nagios as well. We were using FAI, and it was nice for quick,

Re: [Boston.pm] Linux cluster and configuration management

2004-06-23 Thread Ted Zlatanov
On Wed, 23 Jun 2004, [EMAIL PROTECTED] wrote: Then we switched to net-booting over NFS, and it's even easier faster. There's no longer any need to configure each machine, beyond going into the bios and making sure that PXE boot over the network is enabled. Everything else can be managed on

Re: [Boston.pm] flock() on Solaris

2004-06-23 Thread Ian Langworth
On Wed, 23 Jun 2004 15:50:05 -0400, Andrew Langmead [EMAIL PROTECTED] wrote: [snip] The parent downgrades its | The child sleeps for 1 sec. lock from exclusive to shared | [snip] If you need for the parent to do the tests, then I think

Re: [Boston.pm] Mysterious 0a at the end of every string

2004-06-23 Thread Andrew Medico
On Wed, 23 Jun 2004, Ranga Nathan wrote: I am curious why there is a hex 0a at the end of every string. I see it when I hex dump like: DB17 x `echo abcd | hexdump` 0 '000 6162 6364 0a00 echo automatically prints a trailing newline unless you use the -n option. Try adding that and see

Re: [Boston.pm] Mysterious 0a at the end of every string

2004-06-23 Thread Ranga Nathan
aahh! Thanks __ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 Andrew Medico [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/23/2004 04:37 PM

Re: [Boston.pm] flock() on Solaris

2004-06-23 Thread Andrew Langmead
On Wednesday, June 23, 2004, at 05:25 PM, Ian Langworth wrote: Hrm, I guess the confusion is in the downgrading, as I believed that the parent was getting a new lock completely. In some ways, you could treat it as giving up one lock and acquiring another. The only difference is that the process