in reply to Re: Global symbol requires explicit package..
in thread Global symbol requires explicit package..
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 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Global symbol requires explicit package..
by Laurent_R (Canon) on Jan 21, 2014 at 19:50 UTC |