in reply to foreach problem with shift
Nothing to do with your problem with Foreach Loops but I'm wondering why you are concatenating two strings in your print statement when one would do. This
print "foreach takes :"."$_\n";
could be written
print "foreach takes :$_\n";
Cheers,
JohnGG
|
|---|