Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl oddities

by Dedalus (Scribe)
on Mar 01, 2005 at 21:37 UTC ( #435626=note: print w/ replies, xml ) Need Help??


in reply to Perl oddities

pipe A=>B
does rather the opposite to what it looks like it should.


Comment on Re: Perl oddities
Download Code
Re^2: Perl oddities
by ikegami (Pope) on Mar 01, 2005 at 22:45 UTC

    So does push(@a => $b);. Why are you using => instead of ,?

    By the way, your code is equivalent to pipe('A', B); and not pipe(A, B).

      I've taken to using =>, having been inspired by Abigail-II's tendancy tward the fact comma. I put it in whenever the expressions on each side are somehow related.

      "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      Why should not I? It is perfectly valid, and would seem to make visual sense, pipe one thing into an other. Arrows are pretty, but not DWIM, it is a shame.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2014-04-21 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls