Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: backtick operator

by Hue-Bond (Priest)
on May 14, 2010 at 06:54 UTC ( #839950=note: print w/replies, xml ) Need Help??


in reply to Re^5: backtick operator
in thread backtick operator

$|++ doesn't toggle the value of the variable; $|-- does. Just checked it on 5.8 and 5.10.

--
 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).

Replies are listed 'Best First'.
Re^7: backtick operator
by JavaFan (Canon) on May 14, 2010 at 07:36 UTC
    Still, I find $|++ a piece of pointless cargo cult. It isn't any shorter than $|=1, and it only add negative clarity.
Re^7: backtick operator
by Anonymous Monk on May 14, 2010 at 07:30 UTC
    Thanks. Not remembering this correctly is probably why I prefer assignment.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839950]
help
Chatterbox?
[Your Mother]: The exhibit, the tick, or the scrotum?
[erix]: (the man is even a paleontologist )
[1nickt]: erix unfortunately that's there favourite spot. That's why they are usually spotted crawling *up* your leg.
[erix]: ha, the tick and, as it happens, also the curator (now a professor of Paleont.)
[1nickt]: s/there/their/, ugh sorry.
[Your Mother]: Heh. The only one I ever had on me, I caught on my shin, headed north.
erix looks nervously I got away cleanly from my run , it seems :)
1nickt doesn;t remember there being ticks in the old country ...
erix too fast for ticks!
[erix]: 'the old country' is where?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2017-05-24 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?