Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: 'monk = hacker' JAPH.

by jynx (Priest)
on Jun 11, 2002 at 17:04 UTC ( #173565=note: print w/replies, xml ) Need Help??


in reply to 'monk = hacker' JAPH.


A small problem,

It might just be my computer, but when running your first version i get an off by one error that renders the resultant string useless ('Kvtu Bopuifs Qfsm Ibdlfs' ne 'Just Another Perl Hacker'). Do you get the same results? Oddly, the second version doesn't suffer from this...

jynx

Replies are listed 'Best First'.
Re: Re: 'monk = hacker' JAPH.
by belg4mit (Prior) on Jun 12, 2002 at 03:04 UTC
    I get Warning: Use of "" without parens is ambiguous at /tmp/a line 8. (The offending bit is the matching of v, insert a newline before this expression and the warning disappears) But no off by ones (I got many one I was playing with the earlier versions).

    --
    perl -pew "s/\b;([mnst])/'$1/g"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://173565]
help
Chatterbox?
[Corion]: Hi marto! I hope all is well!
[marto]: Corion, pretty much. How are things? You were at LPW?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-12-07 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.