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

Re: [MacPerl] EOF command?



>Is there an EOF command for the Mac like the ^D in Unix or ^Z in
>Windows?

Hi there,

this simple script:

#!perl5
while(<STDIN>){print;}
print "finished";

prints "finished" when you type control d

(at least it does for me, macperl5.2.0r4)

cheers,

Iain



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