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

Re^2: Quote and Quote-like Operators

by setebos (Beadle)
on Jan 15, 2009 at 21:37 UTC ( #736680=note: print w/ replies, xml ) Need Help??


in reply to Re: Quote and Quote-like Operators
in thread Quote and Quote-like Operators

I see no difference between:

my $string = q/{(foo => "'bar'")}/;
and
my $string = q{{(foo => "'bar'")}};


Comment on Re^2: Quote and Quote-like Operators
Select or Download Code
Re^3: Quote and Quote-like Operators
by jeffa (Chancellor) on Jan 15, 2009 at 21:48 UTC

    My syntax highlighter does. Perhaps i did not pick the best example. My point is still valid.

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    
Re^3: Quote and Quote-like Operators
by Jenda (Abbot) on Jan 15, 2009 at 21:49 UTC

    That's only true when the curlies are properly nested within the string. Again, it depends. Sometimes the test of the proper nesting is a plus, sometimes it's a bother.

Log In?
Username:
Password:

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

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

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (9 votes), past polls