Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Infinite JAPHs?

by domm (Chaplain)
on Mar 31, 2005 at 07:52 UTC ( #443716=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Infinite JAPHs?
in thread Infinite JAPHs?


die"Just Another Perl Hacker\n"

Ok, in fact thats the same length (minus the space), but it has more 'features' (ends with a newline) :-)

-- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Comment on Re^3: Infinite JAPHs?
Select or Download Code
Replies are listed 'Best First'.
Re^4: Infinite JAPHs?
by kelan (Deacon) on Mar 31, 2005 at 20:34 UTC

    Get one less character with all of the same features!

    die"Just another Perl hacker "
    Just embed an actual newline into the string :) And actually, I think the usual rules don't count physical newlines, so you might see it as saving two characters.

      -- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-08-28 10:42 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (335 votes), past polls