in reply to Re: monitoring a webpage using perl4 without using modules?
in thread monitoring a webpage using perl4 without using modules?

Thanx for your replies!
(and please accept my humble apologies for my bad formatting in the original post)

The reason for us doing it this hard way is that we use Tivoli Distributed Monitoring to run the monitor.
Sadly enough, it comes with Perl 4 :(
But regardles of what is better or not, is it at all possible to do this using Perl 4 or is it a dead end?

"May the forces of high bandwidth be with you."
  • Comment on Re: Re: monitoring a webpage using perl4 without using modules?

Replies are listed 'Best First'.
Re: Re: Re: monitoring a webpage using perl4 without using modules?
by BrowserUk (Patriarch) on Sep 20, 2002 at 10:01 UTC

    Okay, some possibilities. I've no experience of Perl4 so if anything I suggest is dodgey or wrong hopefully one the guys or girls here who has that experience will correct me.

    1. Have you checked the distribution CD's for Tivoli and looked to see if they included any of the more common modules?
    2. If not, you can probably still get hold of the Perl4 versions of some of these modules on CPAN or somewhere. I did a simple google for perl 4 module and found this which would be a good starting point. The installation doesn't seem to need a complier, but I didn't look too hard.
    3. If you really cannot use this module, then the source code will give you a good idea of the work involved in writing you own replacement.
    4. If the system you wish to run the script on is not just one but many servers, and you cannot get permission (short-sighted though that would be) to "install modules", then probably the simplest solution would be to install and develop a Perl 5 solution using ActiveState Perl in your lab or on your workstation and then use the AS pl2exe utility to wrap the perl 5 .pl file and a perl 5 runtime into a single executable and distribute that.

      Problem solved I think. No dependancies. No possibility of interfering with your existing Perl 4 codebase. Worth a look?


    Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!
      Well, considering the conditions around my problem, I've
      decided that Perl isn't the one to turn to.
      Allthough, I have no doubt that Perl is capable or
      doing this (with modules of course) I will be better
      off using another tool. Thanks for the inputs in this issue.