Yep, that was exactly it. Perl Builder just wasn't cooperating. Thanks
for your responses!

 

Mark 

 

-----Original Message-----
From: John Pitchko [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 5:33 PM
To: Mark M. Andrich; [EMAIL PROTECTED]
Subject: Re: Stumped by "Learning Perl" example

 

Seems to run fine on Solaris. Do like the other dude said and try it
from the command line. PerlBuilder may not be intercepting the Ctrl-D/Z
properly?

 

John Pitchko
Data Services
Saskatchewan Government Insurance

>>> "Mark M. Andrich" <[EMAIL PROTECTED]> 07/10/02 04:14pm >>>
Chapter 3 Ex. 1:



They use the following code:



print "Enter some lines and than use the ctrl set to end! \n" ;
print reverse <STDIN>;



or 



print "blah blah blah. \n";

@lines = <STDIN>;

@reverse_lines = reverse @lines;

print reverse_lines



I'm using Perl Builder 2.2 on Win 2K. When I run the script, I get the
initial sentence and enter my input in the I/O box, after that nothing
happens. Either I can't seem to find the right combination to break out
or the script is simply not running. Has anyone else who's used this
book under similar circumstances come across this problem? Any guidance
is appreciated.



Thanks,



Mark (Climbing the learning curve!)

Reply via email to