Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

MOPT-02 - substitution and formal systems

by mstone (Deacon)
on Dec 16, 2002 at 21:16 UTC ( [id://220362]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        { 'c', 'i', 'o', 'p' }
    
  2. or download this
        S   ->  Sp
        op  ->  i
    ...
        oc  ->  io
        ic  ->  co
        cS  ->  ioS
    
  3. or download this
        $S = 'o';
        
    ...
            @out = map { sprintf ("%6s", $_) } @processing;
            printf ("%-44s == %6s\n", join (" ->", @out), $S);
        }
    
  4. or download this
            op ->     i                              ==      i
            ip ->     c ->    io                     ==     io
    ...
         iioip ->  iioc ->  iiio                     ==   iiio
         iiiop ->  iiii                              ==   iiii
         iiiip ->  iiic ->  iico ->  icoo -> ioooo   ==  ioooo
    
  5. or download this
        $S = 'opppppppp';               # (S  -> Sp) x 8
        
    ...
            @out = map { sprintf ("%9s", $_) } @processing;
            print join (" ->", @out), "\n";
        }
    
  6. or download this
        opppppppp -> ippppppp ->  cpppppp -> iopppppp
         iopppppp ->  iippppp ->   icpppp ->  ioopppp
          ioopppp ->   ioippp ->    iocpp ->    iiopp
            iiopp ->     iiip ->      iic ->      ico ->     iooo
    
  7. or download this
        8   ->  iooo
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://220362]
Approved by adrianh
Front-paged by Tanalis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found