Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^10: Words in Words

by sarchasm (Acolyte)
on Oct 03, 2011 at 00:06 UTC ( #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!


Comment on Re^10: Words in Words
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
Node Status?
node history
Node Type: note [id://929225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-07-04 09:24 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 (59 votes), past polls