if ($cg =~ /^$|NA/) {
It tells Perl to skip the line if it starts (^) and ends ($) immediately, or (|) contains NA.
In reply to Re: Getting Rid of Newlines Between Strings
by choroba
in thread Getting Rid of Newlines Between Strings
by ccelt09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |