it doesn't print "complete" and the carriage return. Why is that? I've noticed that if I remove the parens enclosing the split, it works.my $x = '2D6-324'; print (split('-',$x))," complete\n";
In reply to split question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |