This one appears to suffer from an off-by-one bug...
use Modern::Perl; use List::Util qw(first); use LWP::Simple qw(get); say for first {/^2\+2/} split m{\r?\n|\r}, get q{http://gutenberg.net.au/ebooks01/0100021.txt}
(And monks outside of the Australian branch of the monastery need to be aware of potential copyright issues.)
In reply to Re: Adding 2 + 2
by tobyink
in thread Adding 2 + 2
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |