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

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?

31!

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.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-07-30 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls