RE: format + sendmail

2001-09-06 Thread Bill Odom
John_Kennedy [mailto:[EMAIL PROTECTED]] wrote: > I have the following script (simplified) > > #!/path/to/perl -w > open LIST,"/path/to/data" or die "/path/to/data: $!"; > open(SENDMAIL, "|/usr/lib/sendmail -oi -t") or die "Unable to > fork: $!"; > format SENDMAIL= > From: Me <[EMAIL PROTECTED]> >

RE: better way to write a hash of month names?

2001-09-05 Thread Bill Odom
Bill Lovett [mailto:[EMAIL PROTECTED]] asked: > > Can anyone suggest a better/cooler way to populate this hash? I'm > doing ultra simple date checking, so this is all I really need, but > there must be another way to do it... > > my %monthNames; > $monthNames{"Jan"} = 0; > $monthNa

RE: Getting the length of an array that is a reference...

2001-08-31 Thread Bill Odom
Hamish Whittal said: > > I have a reference to an array $ref_arr > > I want the length of the array. normally just getting the length one > would write something along the lines of: > $length = @#array; # Unless I am mistaken. Close -- you want $#array instead. > > How do I find the length

RE: Perl script editor for NT/2000

2001-08-20 Thread Bill Odom
TOM TURPIN [mailto:[EMAIL PROTECTED]] asked: > > Could someone suggest a good editor for writing scripts with? > I use EditPlus (http://www.editplus.com/). It feels right, and is light enough to use as a full-time Notepad replacement. The syntax highlighting isn't bad, and you can customize it

RE: PERL installation guide for VMS?

2001-08-10 Thread Bill Odom
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] said: > > I didn't find the installation guide for PERL/VMS. The > Freeware V4 CD does not have anything useful but copies of > memos dated 1995 and among the 813 files of the 5-003-05 > kit, I only found this which may help, and it actually does not >

RE: Win32::Eventlog on ActiveState

2001-08-10 Thread Bill Odom
Chris Garringer [mailto:[EMAIL PROTECTED]] said: > > I need to read a Win2k Event log (Application). > ... > I got the Win32::Eventlog module and setup per the documentation > ... > use Win32::Eventlog; > ... > I get a compile-time error > Can't locate object method new via package > "Win32::Event

RE: perl interpreter

2001-08-01 Thread Bill Odom
ting on large networks, where I had Perl installed in the Windows NT NETLOGON share on my PDCs and BDCs. It even works with modules requiring DLLs, such as Win32::OLE and Win32::API. Good luck, Bill Odom -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]