Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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!

Replies are listed 'Best First'.
Re^11: Words in Words
by Anonymous Monk on Oct 03, 2011 at 00:16 UTC
    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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-10-23 00:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.