in reply to <> and $hash_ref->{key} construct

unbalanced angle brackets, think about it
1 2 3 | | | <$result->{fh}> \--------^
just like unbalanced (), or {}
D:\>perl -e"<>>" syntax error at -e line 1, at EOF Execution of -e aborted due to compilation errors. D:\>perl -e"())" syntax error at -e line 1, next char ) Execution of -e aborted due to compilation errors. D:\>perl -e"{}}" Unmatched right curly bracket at -e line 1, at end of line syntax error at -e line 1, near "}}" Execution of -e aborted due to compilation errors.
If you were to change it to
<$$result{fh}>
it would be equivalent of glob , not readline

Replies are listed 'Best First'.
Re^2: <> and $hash_ref->{key} construct
by Gangabass (Vicar) on Jan 29, 2009 at 05:17 UTC

    Thanks!