in reply to Overload abuse or is it just me?

Are you saying that you don't use output direction and pipes in the shell? That's all this person is trying to duplicate by overloading the operators in this way.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^2: Overload abuse or is it just me? (inútil)
by tye (Sage) on Mar 17, 2006 at 21:59 UTC

    I'm disappointed that you didn't use any Portuguese words in your node. I often use Portuguese words when speaking in Portuguese, and I think it'd be great if people simply duplicated the beauty of Portuguese words in more of their English texts. I mean, what possible confusion could that cause? There'd be no real advantage to it, of course, but that's no reason to avoid it.

    - tye        

      I prefer Latin. After all, quidquid Latine dictum sit altum videtur. French also has a certain je ne sais quoi. Iberian languages are just mal ;-)
Re^2: Overload abuse or is it just me?
by salvix (Pilgrim) on Mar 17, 2006 at 19:09 UTC
    Oh yeah, in the shell I use it a lot. But why bring this shell-ish way to Perl? Soon people will be writing "Perl Shell Scripts":
    #!/usr/bin/perl use Overload::Monster; # :-) `ls -al /some/path` | `grep blah` > my $var;
    Actually it's quite common to see Perl code written as shell scripts, unfortunately...

      You say that in jest, but I've actually been rewriting some other peoples code where there actually are large chunks of shell script included in the Perl inside backticks. They'd probably love this . . .

      *shudder*