Re: STDIO does not hold execution

2007-11-05 Thread Paul Lalli
On Nov 5, 2:38 am, [EMAIL PROTECTED] (Robert Locke) wrote: > Hi, > > Please look at my short code and tell me where I go wrong. > I though a read from STDIO should make the execution stop, > wait for some input and a return, but my code just continues. > > sub user_choice { > (my $list) = @_; > >

Re: STDIO does not hold execution

2007-11-04 Thread Jeff Pang
-Original Message- >From: [EMAIL PROTECTED] > >Please look at my short code and tell me where I go wrong. >I though a read from STDIO should make the execution stop, >wait for some input and a return, but my code just continues. > >sub user_choice { > (my $list) = @_; > > # Some foreach

STDIO does not hold execution

2007-11-04 Thread Robert.Locke
Hi, Please look at my short code and tell me where I go wrong. I though a read from STDIO should make the execution stop, wait for some input and a return, but my code just continues. sub user_choice { (my $list) = @_; # Some foreach functionality on the list items ... print "Give me a co