Thanks ikegami,
But I think I found what I was doing wrong. I simplified the code to this and it now works...
while ($sbNumHost1 !~ m/^(SB)(\d{1,2})$/i) { print "Enter the SB## \t: "; chomp($sbNumHost1 = ReadLine(0)); } print "done\n";
In reply to Re^2: Noob Question - not sure what's wrong
by vishi
in thread Noob Question - not sure what's wrong
by vishi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |