Trouble installing modules (Net::SSH::Perl, Math::Pari, Crypt::Random)

2004-07-22 Thread Price, Jason (TLR Corp)
In looking for a good Perl SSH module, I came across Net::SSH::Perl, which has a ton of dependencies. While looking into this, I stumbled across CPAN::shell, which I figured would make installing Net::SSH::Perl a lot easier. So, I installed CPAN::shell, but am unable to get all the dependencies f

RE: RegExp help

2004-06-24 Thread Price, Jason (TLR Corp)
Original Message From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 3:46 PM To: [EMAIL PROTECTED] Subject: Re: RegExp help > Jason Price wrote: >> I'm trying to write a regular expression to divide up a line of text >> into a hash, but am having a hard time wi

RegExp help

2004-06-24 Thread Price, Jason (TLR Corp)
I'm trying to write a regular expression to divide up a line of text into a hash, but am having a hard time with it. I'm hoping you all can help me. Here's an example line of text: "( uiwgAttribute-OID NAME 'uiwgAttribute' DESC 'Contains meta data about an attribute' SUP top MUST cn MAY ( uiwgAD

Text menus

2004-06-09 Thread Price, Jason (TLR Corp)
I'm currently working on a script that needs to be driven by text menus, and I'm trying to figure out the best way to accomplish this. I'm looking to display a base menu when the script is run, and then allowing the user to specify actions, or access additional menus via keypresses. After an actio

Working with gzip files

2004-05-20 Thread Price, Jason (TLR Corp)
Is there an easy way to work with gzip files in perl? Basically, I'd like to be able to view and manipulate them using filehandles, similar to non-zipped files. Is there a good way to do this? Thanks. Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Regexp matching problems

2004-04-26 Thread Price, Jason (TLR Corp)
I am having problems with one of my regexp substitutions not matching the first line returned in a set, and I'm having trouble figuring out why. I figure there's probably a hidden system character or something of the sort that is causing my regexp to fail. Here's the scenario: I'm forking off

OT: Controlling bottom posting in outlook

2004-04-26 Thread Price, Jason (TLR Corp)
I've sensed that bottom posting is considered proper etiquette for this mailing list. Using Outlook, this is obviously not the default reply behavior. I have seen a link to a utility that allows bottom posting in Outlook, but it replaces the default reply format for all messages. Being in a c

RE: tracking mail logs

2004-04-05 Thread Price, Jason (TLR Corp)
Sounds like a great idea to me. I have a similar script on my to-do list, but not sure when I'll be able to get to it. Sendmail is widely enough used to warrant a module for it, I would think... Jason -Original Message- From: Traeder, Philipp [mailto:[EMAIL PROTECTED] Sent: Monday, Ap

RE: Matching ranges of IP addresses

2004-03-31 Thread Price, Jason (TLR Corp)
Thanks to both James and Paul - that solution worked great. Thanks! Jason -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 3:17 PM To: Perl Beginners Cc: Price, Jason (TLR Corp) Subject: Re: Matching ranges of IP addresses On Mar

Matching ranges of IP addresses

2004-03-31 Thread Price, Jason (TLR Corp)
I am working on a script that searches through a log file, looking for IP matches based on several ranges of IPs. I'm trying to find a way to do something like this: @results = grep /192.168.0.[192-254]/, @list Which, obviously, doesn't work. Is there any way to specify a range of multi-digit

Streaming a file to a remote user

2004-03-25 Thread Price, Jason (TLR Corp)
I'm trying to figure out a way to stream a file to a remote user, and be able to determine that the download completed, so I can delete the file being streamed. I may be missing an obvious way to do this, so I'm hoping you all can help me out. Here's the sequence of events I'm after: 1. User

Improving performance when working with large text files

2004-03-11 Thread Price, Jason
I'm trying to optimize a script used for processing large text log files (around 45MB). I think I've got all the processing fairly well optimized, but I'm wondering if there's anything I can do to speed up the initial loading of the file. Currently, I'm performing operations on the file one line

RE: Forking

2004-03-03 Thread Price, Jason
Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 1:17 PM To: 'Price, Jason'; '[EMAIL PROTECTED]' Subject: RE: Forking Price, Jason wrote: > Not sure if this is the right list for this - if it's not, please > direct me to the p

Forking

2004-03-03 Thread Price, Jason
Not sure if this is the right list for this - if it's not, please direct me to the proper list. Anyway, I'm trying to get my hands around forking, and was hoping you all could help me out. Basically, I'm trying to find a way to fire off a remote script on numerous boxes in parallel, returning the