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

Re^2: Quote and Quote-like Operators

by setebos (Beadle)
on Jan 15, 2009 at 21:37 UTC ( [id://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'")}};

Replies are listed 'Best First'.
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.

Re^3: Quote and Quote-like Operators
by jeffa (Bishop) 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)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2024-03-29 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found