Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: grep flip flop (range operator)

by Anonymous Monk
on Sep 13, 2012 at 07:04 UTC ( #993384=note: print w/replies, xml ) Need Help??


in reply to Re: grep flip flop (range operator)
in thread grep flip flop (range operator)

Edit: Upon further reading, it looks like the range operator isn't parsed in scalar context, as the following does print something: perl -le " print for grep scalar 1 .. /Q/, @ARGV " a b c Q r s

I use    perl -MO=Deparse,-p   what you have is  (scalar(1) .. /Q/)

you need  scalar( 1 .. /Q/ ) to get nothing :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993384]
help
Chatterbox?
[Eily]: can't the nodelet be moved though? Maybe you could put one that doesn't change first ("Sections" or "Find Nodes" for example)
[Eily]: "Other Users" seems like a poor choice :P
[Eily]: nope, Nodelet Settings doesn't let you move the XP Nodelet, CSS might
[marinersk]: That would mitigate the distraction/jangle issue, but then the information wouldn't be easy to find when it is populated. Plus, I don't currently see a way to move it, but I'm not done poking around on that point yet.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-05-29 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?