New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$*HOME blows up if HOME isn't set #5950
Comments
From @briandfoyIf the HOME environment variable is not set (say, as in $ unset HOME $ perl6 -e 'put "HOME is $*HOME"' Curiously, $*TMPDIR is /tmp if the TMPDIR environment variable is not Maybe that's good and maybe not. But, trying to use homedir blows up the $ perl6 -e 'homedir( "/Users/brian" ); put "HOME is $*HOME"' But, homedir isn't documented outside of S16 even though it appears to $ perl6 -e '$*HOME = "/Users/brian"; put "HOME is $*HOME"' I can set a key is a completely different variable to get it to work: $ perl6 -e '%*ENV<HOME> = "/Users/brian"; put "HOME is $*HOME"' And I can even set it to a directory that does not exist: $ perl6 -e '%*ENV<HOME> = "/Users/brian/not-there"; put "HOME is $*HOME"' The $*HOME variable is listed in . If it isn't set, it's documented to $ perl6 To exit type 'exit' or '^D' |
From @zoffixznetOn Fri, 30 Dec 2016 01:06:35 -0800, comdog wrote:
Thank you for the report. All the points in this ticket are now resolved: - "If HOME env var unset, using $*HOME throws an exception" [^1] rakudo/rakudo@1b9d53c |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130456 (status was 'resolved')
Searchable as RT130456$
The text was updated successfully, but these errors were encountered: