Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^10: Words in Words

by sarchasm (Acolyte)
on Oct 03, 2011 at 00:06 UTC ( [id://929225]=note: print w/replies, xml ) Need Help??


in reply to Re^9: Words in Words
in thread Words in Words

Got it!

The only piece in the code I am wondering about is where you are checking for rules 3 and 4 and use "$subword . q{s}..."

I know what it is doing but where did the "q" come from?

Thank you!

Replies are listed 'Best First'.
Re^11: Words in Words
by Anonymous Monk on Oct 03, 2011 at 00:16 UTC

    http://perldoc.perl.org/perlop.html#Quote-and-Quote-like-Operators
    Customary Generic Meaning Interpolates '' q{} Literal no "" qq{} Literal yes `` qx{} Command yes* qw{} Word list no // m{} Pattern match yes* qr{} Pattern yes* s{}{} Substitution yes* tr{}{} Transliteration no (but see below) y{}{} Transliteration no (but see below) <<EOF here-doc yes* * unless the delimiter is ''.
      Perfect. Thank you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found