view lib/kps/strip.pl @ 12280:1c5330229fcf draft

<oerjan> learn The password of the month is only if lambda is a macro
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 02:18:55 +0000
parents 3c04e9ef7a3a
children
line wrap: on
line source

#!/usr/bin/perl

$_ = do { local $/; <> };
do {
	$l = length;
	s/[\n\r\t ]+//g;
	s/<>//g;
	s/><//g;
	s/\+-//g;
	s/-\+//g;
} while($l != length);
print;