Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Perl oddities

by ikegami (Patriarch)
on Mar 01, 2005 at 22:45 UTC ( [id://435644]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl oddities
in thread Perl oddities

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).

Replies are listed 'Best First'.
Re^3: Perl oddities
by Dedalus (Scribe) on Mar 02, 2005 at 20:04 UTC
    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.
Re^3: Perl oddities
by hardburn (Abbot) on Mar 02, 2005 at 19:26 UTC

    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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found