in reply to Global symbol requires explicit package..

Thak you so much guys..Now works.I do not need to delete the topic right??

  • Comment on Re: Global symbol requires explicit package..

Replies are listed 'Best First'.
Re^2: Global symbol requires explicit package..
by Tux (Canon) on Jan 21, 2014 at 19:00 UTC

    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 :)


    Enjoy, Have FUN! H.Merijn
      So would I, but I wanted to stick as much as possible to the OP's code, so that he or she could see the required changes.