but still got the line containing "=====" printed on screen. What am I doing wrong here? Thanks.while (<>) { chomp; @a = split if ($_ ne "==.*"); print "@a\n"; }
In reply to Conditional split? by chiragmp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |