Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl: the Markov chain saw
 
PerlMonks  

Re: Subtle omission in perlop?

by chester (Hermit)
on Aug 30, 2005 at 13:36 UTC ( [id://487866]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Subtle omission in perlop?

It looks OK to me the way it is. The way I interpret the underlined sentence is "Whatever is inside the <> is parsed like it was double-quoted so that you can do globs on the contents of variables among other things, but you can't do a glob using <$foo> because any time you use a simple scalar inside <>, it's interpreted as a filehandle." The point being, to glob $foo you need to use glob($foo) or <${foo}>.

It says double-quote interpretation "is done first", it doesn't say anything about using literal double-quotes inside angle brackets. But I may be misinterpreting.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://487866]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.