Re: Can't download and install Spreadsheet::WriteExcel module on WindowsXP

2008-10-28 Thread Ganesh Babu N
Hai, Check with PPM repositories which is having this module. Add those repositories into the GUI PPM. I can install this module after adding http://theoryx5.uwinnipeg.ca/ppms repository to the PPM. Regards, Ganesh On 10/29/08, Tony Esposito <[EMAIL PROTECTED]> wrote: > When trying to install

Re: Curly braces and the logic of PERL

2008-10-28 Thread Jack Gates
On Tuesday 28 October 2008 09:20:30 pm Rob Dixon wrote: > Jack Gates wrote: > > On Tuesday 28 October 2008 10:06:44 am Jenda Krynicky wrote: > >> We can't care about ALL those who read it. The best we can do > >> is to care about MOST. I know it's inconvenient if you are not > >> part of the majori

Re: Help required in writing a script

2008-10-28 Thread Philip Durbin
On Oct 23, 2008, at 11:22 AM, Philip Durbin wrote: monnappa appaiah wrote: i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every s

Re: Curly braces and the logic of PERL

2008-10-28 Thread Mr. Shawn H. Corey
On Wed, 2008-10-29 at 01:20 +, Rob Dixon wrote: > bottom-posting being a de-facto standard on > this list, and despite a majority of subscribers expecting it and > preferring it Really? When was the last poll conducted and where were its results published? -- Just my 0.0002 million dol

Re: Curly braces and the logic of PERL

2008-10-28 Thread Rob Dixon
Chas. Owens wrote: > On Mon, Oct 27, 2008 at 20:28, Rob Dixon <[EMAIL PROTECTED]> wrote: >> John W. Krahn wrote: >>> >>> The fewer lines of code to read and/or write, the easier it is to spot >>> mistakes, the less chance for "action at a distance." >> >> Not at all. >> >> Is this >> >> sub wanted

Re: Curly braces and the logic of PERL

2008-10-28 Thread Rob Dixon
Jack Gates wrote: > On Tuesday 28 October 2008 10:06:44 am Jenda Krynicky wrote: >> >> We can't care about ALL those who read it. The best we can do is >> to care about MOST. I know it's inconvenient if you are not part >> of the majority, but there is little we can do. > > That is a cold, callous

Re: matching elements from array and print the results line by line from log file

2008-10-28 Thread John W. Krahn
slow_leaner wrote: Hi, Hello, I have a list of element in array that I would like to match the pattern in logs file. I have hard time take element from array and matching it. More then weeks now and don't know where to find in man page. perldoc -q "How do I efficiently match many regular ex

RE: matching elements from array and print the results line by line from log file

2008-10-28 Thread Andy Cravens
-Original Message- From: slow_leaner [mailto:[EMAIL PROTECTED] Sent: Tue 10/28/2008 11:58 AM To: beginners@perl.org Subject: matching elements from array and print the results line by line from log file Hi, I have a list of element in array that I would like to match the pattern in lo

Can't download and install Spreadsheet::WriteExcel module on WindowsXP

2008-10-28 Thread Tony Esposito
When trying to install the Spreadsheet::WriteExcel module on WindowsXP, and using 'ppm' from ActiveState, I get thrown into a GUI that seems to be checking what modules I already have on my system or can be installed on my system (Spreadsheet::WriteExcel module is not one of them that is availab

Re: Curly braces and the logic of PERL

2008-10-28 Thread Octavian Rasnita
From: "Jack Gates" <[EMAIL PROTECTED]> On Tuesday 28 October 2008 10:06:44 am Jenda Krynicky wrote: We can't care about ALL those who read it. The best we can do is to care about MOST. I know it's inconvenient if you are not part of the majority, but there is little we can do. That is a cold

matching elements from array and print the results line by line from log file

2008-10-28 Thread slow_leaner
Hi, I have a list of element in array that I would like to match the pattern in logs file. I have hard time take element from array and matching it. More then weeks now and don't know where to find in man page. please help me. Here is my code. #!/usr/bin/perl -w open ( FILE, " /var/log/cisco.log

Installing perl modules

2008-10-28 Thread Andy Cravens
Is there a way to have multiple users on a server using the perl at /usr/local/bin/perl and yet have their own personal perl modules that the other users can't see? I'm trying to figure out if there is a way to allow multiple users to install any and all perl modules thay may need for developm

Re: HoH to AoA

2008-10-28 Thread Mr. Shawn H. Corey
On Tue, 2008-10-28 at 12:14 -0400, Rodrick Brown wrote: > What's the correct to walk a HoH like the following? > I built a data structure that looks like what's shown below and need a > quick > way to reconstructure the data into an array of arrays. > There is no quick way. If the levels of the

Re: Curly braces and the logic of PERL

2008-10-28 Thread Jack Gates
On Tuesday 28 October 2008 10:06:44 am Jenda Krynicky wrote: > > We can't care about ALL those who read it. The best we can do is > to care about MOST. I know it's inconvenient if you are not part > of the majority, but there is little we can do. > That is a cold, callous, self serving statement.

HoH to AoA

2008-10-28 Thread Rodrick Brown
What's the correct to walk a HoH like the following? I built a data structure that looks like what's shown below and need a quick way to reconstructure the data into an array of arrays. ie $cfglist[0] = (nybmlx01,'BookManagerDaemon', '1','2','Xbook.jar'); Any assistance will be appreciated than

Re: Curly braces and the logic of PERL

2008-10-28 Thread Octavian Rasnita
From: "Jenda Krynicky" <[EMAIL PROTECTED]> That's nice and dandy if you do read the thread in one go. If you read the original message, then half a day later three separate responses, next day a response to the third response and another response to the original post and ... and of course in the

Re: Curly braces and the logic of PERL

2008-10-28 Thread Jenda Krynicky
From: "Octavian Rasnita" <[EMAIL PROTECTED]> > Well, this is a limited approach, generated exactly by the fact that some > programmers don't really care about all those who read, but care the most > about their own preferences. We can't care about ALL those who read it. The best we can do is to

Re: LWP::Simple

2008-10-28 Thread John W. Krahn
[EMAIL PROTECTED] wrote: ok I'm pretty much a noob here, so you have to expect some level of stupidity... ;-) I got this script off a site and have spent several hours trying to fix it yet I clearly still do not understand what exactly it is doing. To me it appears to have problems when there i

LWP::Simple

2008-10-28 Thread [EMAIL PROTECTED]
ok I'm pretty much a noob here, so you have to expect some level of stupidity... ;-) I got this script off a site and have spent several hours trying to fix it yet I clearly still do not understand what exactly it is doing. To me it appears to have problems when there is "nothing" in the hash cal

Re: Curly braces and the logic of PERL

2008-10-28 Thread Telemachus
On Mon Oct 27 2008 @ 12:35, John W. Krahn wrote: > The fewer lines of code to read and/or write, the easier it is to spot > mistakes, the less chance for "action at a distance." I find that there's a point, however, where compression and understanding cross paths. After that, the fewer lines and

Re: ignore directories with File::Find?

2008-10-28 Thread protoplasm
On Oct 24, 12:58 pm, [EMAIL PROTECTED] (John W. Krahn) wrote: > > I couldn't get $File::Find::prune to work on my system but this may be > close to what you require: > > #!/usr/bin/perl > use warnings; > use strict; > use File::Find; > > eval "use File::HomeDir;"; > $@ and die qq{[err] File::HomeDi