Re: Mail App

2004-07-08 Thread Brian McGraw
Mail::Box is your friend ! I'm using it with a lot of success for needs similar to yours. Here some references: http://perl.overmeer.net/mailbox/ http://search.cpan.org/~markov/Mail-Box-2.055/lib/Mail/Box.pod http://marc.theaimsgroup.com/?l=perl-mailbox I'd like to add an article that Simon Cozens

Re: VARIABLES

2004-06-18 Thread Brian McGraw
Hello, If you're coming from awk or interested in porting awk scripts, take a look also at perldoc perltrap (section on awk traps) man a2p I'd also take a look at perldoc perlvar for a complete list of predefined variables. Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

safest way to create user accounts?

2003-02-18 Thread Brian McGraw
Hello list, What would be the safest way to create user accounts on a 2.4.x Linux system with perl. Currently, I'm running a script that feeds options to 'useradd', but it is a very sloppy method. The only reason i don't do this by hand is often several accounts need to be created at once, user

Help retrieving data from Win server

2003-02-13 Thread Brian McGraw
Hello list, I've started writing a little script to automate daily procedures (check backup status, look for AV dat updates, disk space, etc). I have a mix of Linux and Windows machines. I'm not having trouble with the Linux boxes, but I'm kind of stumped as to the best way to retrieve

Re: Network Administration and Perl

2003-01-15 Thread Brian McGraw
1. Log into FTP and get new AV dats, if a new version is posted. 2. Securely copy logs from one network to another for analysis. (Thanks File::Remote) 3. Consolidate account creation process. (Creating accounts for services while creating user accounts). 4. >>> "Paul Kraus" <[EMAIL PROTECTED]> 0

Comparing file sizes

2003-01-03 Thread Brian McGraw
Hello all. I'm trying to compare the size of two files in a script. I know I can open them, feed each into an array, and compare the number of lines, but that seems silly and inefficient. I tried using File::stat in the following manner: $file1 = stat($firstFile); $file2 = stat($secondFile); i