Code of the form:
while (< $self->{fhFrom} >) {
is reported as a syntax error by Perl because it sees <$self-> as the diamond operator and contents - which doesn't quite Do What I Mean.
I can fix the problem by using a temporary variable to hold the file handle, but is there some obvious (or otherwise) syntactic construct I'm missing that allows me to use a file handle stored in a hash reference directly inside the diamond operator?
In reply to Seeking balance from the <> operator by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |