One thing I did notice, instead of using a while to get the scalar, you could:
{ local $/=undef; $cap=<CAP>; }
The declatations, open, close remain the same. The {} scopes the alteration to $/ to only affect the assignment to $cap.
In reply to Re: Same code, same data, different execution times?
by dga
in thread Same code, same data, different execution times?
by tekkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |