Re: POSIX::getchar

2003-09-12 Thread Rob Dixon
John Fisher wrote: > > What am I doing wrong? Here are 3 attempts at trying to use getchar. > It seems I am following the Usage, but I guess not. > > > $ perl -e 'use POSIX;$ab="10";$pab=POSIX::getchar($ab);print $ab,"\n",$pab;' > Usage: POSIX::ge

Re: POSIX::getchar

2003-09-12 Thread James Edward Gray II
On Friday, September 12, 2003, at 07:18 AM, JOHN FISHER wrote: What am I doing wrong? Here are 3 attempts at trying to use getchar. It seems I am following the Usage, but I guess not. POSIX's getchar() doesn't take any arguments. It pulls from STDIN automatically. Hope that helps. James --

POSIX::getchar

2003-09-12 Thread JOHN FISHER
What am I doing wrong? Here are 3 attempts at trying to use getchar. It seems I am following the Usage, but I guess not. $ perl -e 'use POSIX;$ab="10";$pab=POSIX::getchar($ab);print $ab,"\n",$pab;' Usage: POSIX::getchar() at -e line 1 $ perl -e 'use POSIX