A typical silicon valley program ("fake it until you make it") would solve it like that:
print "Calculating...\n"; my $endtime = time + 25; my $x; while(time < $endtime) { $x++; # Todo: Implement better algo for wasting CPU cycles } open(my $ifh, '<', 'solution.txt') or die($!); while((my $line = <$ifh>)) { print $line; } close $ifh;
Sorry, couldn't resist ;-)
In reply to Re^2: Uninitialized warnings trouble
by cavac
in thread Uninitialized warnings trouble
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |