Conserving memory - was SPUG: Fw: greetings

Matt Tucker tuck at
Sun Oct 21 15:08:55 CDT 2001

-- Colin Meyer <cmeyer at> spake thusly:

> On Sun, Oct 21, 2001 at 05:08:48AM -0700, Matt Tucker wrote:
>>      system qw(cat templates/RealTop.htm);
> Out of curiosity, does this work on Windows?  (I don't have a windows
> box within convenience to test on.)
> The 'perldoc -f system' page says that Perl forks before executing
> the  requested command.  Does the Windows Perl's system execute the
> commands without forking?

That should work fine as long as cat is installed and in the path.

> Also, is there a 'cat' on windows?

Not with the default installation. I always installed cygwin on my
systems, though, but honestly the Windows angle never even crossed my
mind; I no longer think about Windows compatibility when I write code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url :

More information about the spug-list mailing list