Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Not a golf but a wish..

by Tux (Abbot)
on Dec 23, 2015 at 12:35 UTC ( #1151038=note: print w/replies, xml ) Need Help??

in reply to Not a golf but a wish..

Only care about Linux and Win32? Solaris, HP-UX, AIX and other Unix flavors all use clear, not cls. As a HP-UX user I hate being put in the Win32 camp!

In the code shown, it will always use cls, as the value for $^O on Linux is linux, not Linux.

I also test my modules on Win32, so I am not a hater of win32, but having been confronted with tests like this in the past, you'd break more than you fix.

/me counts down to the official perl6 release. Almost X-mas ! :)

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Not a golf but a wish..
by Discipulus (Monsignor) on Dec 23, 2015 at 12:38 UTC
    the original BEGIN block restored!


    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      Nice tree :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1151038]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-09-23 19:59 GMT
Find Nodes?
    Voting Booth?
    Eventually, "covfefe" will come to mean:

    Results (191 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!