Great piece of code Lennotoecom :)
Struggling a bit to understand it tho, as it's greatly simplified!
Can you explain me this first line in detail? Never seen the $` before...
$_ = <DATA>; $_ = $` if /$/; @a = split //, $_;
Thank you!
In reply to Re^2: longest common substring (with needed tweaks)
by R56
in thread longest common substring (with needed tweaks)
by R56
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |