Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

(podmaster: golf) Re:Segfault Perl

by PodMaster (Abbot)
on Apr 04, 2002 at 08:28 UTC ( #156606=note: print w/replies, xml ) Need Help??


in reply to (Golf) Segfault Perl

(podmaster: evil ;) Re: Print print Japh
########123456789
#################0123456
perl -e"$#='%.n';print 1"

Ugh, 16 chars.
perl -e"print $#='%n',1" is one char shorter, so that's 15.

$# is not experimental, but it is deprecated.

This worked for me on redhat/freebsd/Win32 (all)
 

Look ma', I'm on CPAN.


** The Third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://156606]
help
Chatterbox?
[stevieb]: been thinking... if it wasn't for Perl, I believe that I'd be done in tech. I don't do social media or the like, if I'm not coding I'm not on a device at all, and don't miss comms at all when I'm not around. I code for my job (which I like), but I think..
[stevieb]: ...I haven't coughed up my laptop because of Perl.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.