you meant to say
print $fh $1 if $uid;
I guess.
update
almut was right
I thought it was scalar context, missed to notice that "(" ")" => "list context" ,my mistake :-).
Thanks to almut and pemungkah
In reply to Re^2: Extracting text from a line
by targetsmart
in thread Extracting text from a line
by kirkbrown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |