[Perl-unix-users] Pattern match: name [keyword csv] [keyword csv] ...

2005-03-12 Thread Todd J Pardi
Hi All, I am trying to extract a name that may have 0 or more keywords followed by comma separated values (or a job definition in TWS terms). The biggest problem for me is that they cross over multiple lines (example below). What I'm trying to do is make an array containing a hash with the name b

Re: [Perl-unix-users] Urgent: Local time scalar conversion

2004-07-23 Thread Todd J Pardi
Hi Craig, I'm not sure if this is what your trying to do but this has worked for me. my ($mday, $mon, $year) = (localtime)[3..5]; #++$mon; #for those people that don't count months starting with 0 $year = sprintf("%02d", $year % 100); my %calnames = (    0 =>'Jan' ,   1=>'Feb',                  

[Perl-unix-users] Undefined value, I can't see my mistake

2003-08-28 Thread Todd J Pardi
Hello All, I have a bug in my script and I just can't find it. My script takes a list of directories and their size and groups them into x number of lists. I use Omniback 4.1 (on a N-class with HP-UX 11.0) to do my backups and I have noticed if I split the filesystem into multiple backup objects

Re: [Perl-unix-users] Learning Perl.

2003-06-27 Thread Todd J Pardi
Hi Dan, If you are using windows or plan to run scripts on windows my favorite is "Win32 Perl scripting" by Dave Roth. The examples are great and His web site a great resource.  I must say joining this list will be the most helpful in learning perl, at least it was for me. Thank you, Todd Pardi