NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Operator overloading to describe pipelines (Score:1)
I looked into doing something very much along those lines some time ago (during OSCON::EU 2006 in Brussels, I think).
One of the problems is that callers which do
use warningswill get lots of “Useless use of bitwise or (|) in void context” warnings. I considered whether this sort of thing would alleviate the problem:It would, through the surprising scope of
*^H, but therRe:Operator overloading to describe pipelines (Score:1)
I wouldn’t particularly care about the redirection operators. I would rather let the desugared API handle the more complex cases than try to stuff them all into symbols.
The warning is an annoyance, I agree.
Reply to This
Parent