It is probably very simple I just can not see it. I have tried the $/ but that evaluates true every time. If I use single quotes it is always false. Any ideas or a point in the right direction would greatly be appreciated.while (<FILE>) { for my $myword (split){ if ($/ eq "\n") { #do stuff } #do more stuff } }
In reply to A splitting question by BigJoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |