develooper Front page | perl.fwp | Postings from September 2001

Re: World's Largest JAPH

Thread Previous | Thread Next
From:
Bart Lateur
Date:
September 9, 2001 14:31
Subject:
Re: World's Largest JAPH
Message ID:
2nnnpt4ck4siotlu9gt75qfscll3n7ad0s@4ax.com
On Sun, 9 Sep 2001 12:18:22 +1000 , Andrew.Savige@ir.com wrote:

>  open 0;
>  $/ = undef;
>  $x = <0>;
>  close 0;
>  $x =~ tr/!-~/#/;
>  print $x;
>         '%'=~
>       ('('.'?'.
>     '{'.('`'|'%'
>  ).('['^'-').('`'
>  |'!').('`'|',').
...
I get 961 warnings "Useless use of a constant in void context at ...".
Oh, and the junk at the start of the output isn't nice either:

	## #### ##
	#### ##
	## # ######
	## # ####
	##### ##
	## ## ##########
	##### ###

-- 
	Bart.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About