Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Using grep in a scalar context

by choroba (Canon)
on Feb 07, 2013 at 15:18 UTC ( #1017676=note: print w/ replies, xml ) Need Help??


in reply to Re: Using grep in a scalar context
in thread Using grep in a scalar context

Scalar context is created by the type of the lvalue in assignments. Adding scalar here does nothing - the scalar context is already there.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^2: Using grep in a scalar context
Replies are listed 'Best First'.
Re^3: Using grep in a scalar context
by Anonymous Monk on Feb 07, 2013 at 15:20 UTC
    :) it is unambiguous, and hurts nothing

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2015-08-29 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (344 votes), past polls