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]>
>
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
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
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
[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
>
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
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]