Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: print source golf

by tybalt89 (Parson)
on Oct 14, 2019 at 16:07 UTC ( #11107428=note: print w/replies, xml ) Need Help??


in reply to print source golf

print do{@ARGV=$0;scalar<>};

Or

print do{@ARGV=$0;~~<>};

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-01-18 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?