On 03/06/2017 01:35 AM, Timo Paulssen wrote:
Doesn't seem to be, but there's $*DISTRO.is-win, which is usually enough
(i.e. you have to do one dumb thing on windows and another sane thing on
literally anything else)
Thank you!
--
~
I am Windows
I am the Blue Scree
On 03/06/2017 01:40 AM, Steve Mynott wrote:
Try $*KERNEL
S
Hi Steve,
That works! Thank you!
-T
$ perl6 -e ' say $*KERNEL;'
linux (3.10.0.514.6.1.el.7.x.86._.64)
C:\perl6 -e "say $*KERNEL;"
win32
By the way win64 also give win32 including with the 64 bit raku
Don't know if I will ever
Try $*KERNEL
S
On 6 March 2017 at 09:10, ToddAndMargo wrote:
> Hi All,
>
> Is there a $*DISTRO or some such that will tell me just "linux"
> and not "rhel ..." or "fedora ..."?
>
>
> Many thanks,
> -T
>
> --
> ~
Doesn't seem to be, but there's $*DISTRO.is-win, which is usually enough
(i.e. you have to do one dumb thing on windows and another sane thing on
literally anything else)
Hi All,
Is there a $*DISTRO or some such that will tell me just "linux"
and not "rhel ..." or "fedora ..."?
Many thanks,
-T
--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~