more useful options | |
PerlMonks |
Re: Massage the driving directions (in USA)by liverpole (Monsignor) |
on Jun 18, 2006 at 19:03 UTC ( [id://556137]=note: print w/replies, xml ) | Need Help?? |
That's an interesting use for Perl.
I tried it, and only have two suggestions -- you may want to reconsider the way the program changes "drive" to "DR", and "s" to "SOUTH", since it adversely affects things like:
And there may be other "gotchas" waiting to be discovered. But it's neat idea, and one I'm sure you can develop further. s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
In Section
Code Catacombs
|
|