NO! Do not delete it. Others might have the same question and learn :)
I'd write it even shorter:
my $lim = $^O eq "linux" ? "clear" : "cls";The code you posted doe not past strict btw. So it must be changed before you ran it. Under strict, the bareword linux is not allowed.
BTW, do not change the original post either :)
In reply to Re^2: Global symbol requires explicit package..
by Tux
in thread Global symbol requires explicit package..
by meanroc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |