Please people, stop reinventing the wheel. There are perfectly good modules out there for everything you need to do ;)
#!/usr/bin/perl $_ = q q/${$a}/; use japh; #prints just another perl hacker my $text = new japh; $_ = $text->simplejaph(); $_="2gt2 3gw34w2 as5533kljt" && q;/\#\w+\s([ a-z]+)/;; $_=${/a/}; print


When's the last time you used duct tape on a duct? --Larry Wall

Replies are listed 'Best First'.
Re: Don't roll your own JAPH!
by damian1301 (Curate) on Feb 01, 2001 at 05:52 UTC
    Haha! Quite clever. There's only one problem, when I run it it produces no output. Can someone help?

    Wanna be perl hacker.
    Dave AKA damian

    I encourage you to email me
      Hmmm. It worked fine for me, even when I copied it from the post. I'm running activestate on win32, version 5.6. Are you sure you copied the print on the last line? It's easy to miss.

      When's the last time you used duct tape on a duct? --Larry Wall
        Oh you rotten bas ... biscuit. There is no japh.pm and q q is sneakier than one would imagine.

        try adding use strict and commenting out a few lines, oh, like all of them (hmmm, my euphemism may be unneeded as I see in the CB a monk named bastard).

        a