in reply to Re: requiremens for CPAN scripts?
in thread requiremens for CPAN scripts?

I'm not sure how one would make a 'generic' module out of a program like 'top' or 'xosview', (for example).

They are designed to be run and left running for some time, enabling you to monitor what's going on.

How would you make that into a module useable by other programs?

Replies are listed 'Best First'.
Re^3: requiremens for CPAN scripts?
by anonymized user 468275 (Curate) on Apr 08, 2011 at 10:01 UTC
    I couldn't find a CPAN script called top - but hypothetically if one exists and does broadly what unix top does: I would say: a script that produces data on top-consuming processes is not as valuable in the longer run as a module that can be inherited and locally augmented to monitor additional information about the processes or to filter the processes on different criteria, e.g. I/O instead of CPU, than what top does - a script has a limited application, a module has no limit.

    One world, one people