in reply to Re: Empowered by Perl
in thread Empowered by Perl

You can easily put together a module to provide the contents function you describe. Or you could install File::Slurp, which provides several useful variants.


TGI says moo

Replies are listed 'Best First'.
Re^3: Empowered by Perl
by LighthouseJ (Sexton) on Oct 15, 2007 at 19:27 UTC
    I often find myself only having the barebones stock Solaris installation. Installing a Perl Module is out of the question. Putting a function together might be too involved. The algorithms I've put together seem to work okay though so I guess it'll just be wishful thinking for the time being.
    "The three principal virtues of a programmer are Laziness, Impatience, and Hubris. See the Camel Book for why." -- `man perl`