No such thing as a small change | |
PerlMonks |
Re^3: direct data to a socketby Corion (Patriarch) |
on Oct 22, 2014 at 08:57 UTC ( [id://1104656]=note: print w/replies, xml ) | Need Help?? |
This is magic employed by IO::All. If you want to know the details, IO::All overrides some operators of Perl to make the normal Perl syntax do something different when dealing with IO::All objects. The expression is simply $a < $b, the comparison expression. Except that the IO::All objects do something different when "compared" with something, to make this syntax appear like shell redirection.
In Section
Seekers of Perl Wisdom
|
|