[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] comparable command



At 12.18 -0500 1999.01.08, Dick Shead wrote:
>A quick question.  In unix I am using the line: system ("cat filename");
>Is there a comparable command that will accomplish this in macperl?

What do you want to do with the data?  Just display it in the window?

  open(FILE, "< $file") or die $!;
  print while <FILE>;

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch