I am wondering if there is a possibility of executing this code below on a WinXP Pro machine. Is it the STDIN line that is crashing the code?
It's just a small snippet that I have been looking at, trying to learn Perl asap......
Code:
#! C:/Perl/bin/perl.exe
do {
print "Enter your name";
$name = <STDIN>;
chop $name;
} until ($name); # Redo until something entered.
Picco
www.crmpicco.co.uk
www.ie7.com