We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#59570 (status was 'resolved')
Searchable as RT59570$
The text was updated successfully, but these errors were encountered:
Hi,
With this patch, $*OS and $*EXECUTABLE_NAME are now working.
However, $?... is not working for some reason "Out of scope PAST::VAR"
thanks, ahmad
--- src/builtins/globals.pir (revision 31566) +++ src/builtins/globals.pir (working copy) @@ -30,6 +30,21 @@ $P0 = new 'Perl6Hash' set_hll_global '%INC', $P0
+ ## set up $*OS + .local string osname + $P0 = new 'Perl6Str' + osname = sysinfo 4 + $P0 = osname + set_hll_global '$OS', $P0 + + ## setup $*EXECUTABLE_NAME + .include "interpinfo.pasm" + .local string exename + $P0 = new 'Perl6Str' + exename = interpinfo .INTERPINFO_EXECUTABLE_FULLNAME + $P0 = exename + set_hll_global '$EXECUTABLE_NAME', $P0 + ## create $*IN, $*OUT, $*ERR filehandles .local pmc pio, perl6io, perl6ioclass perl6ioclass = get_hll_global "IO"
Sorry, something went wrong.
applied with modifications in r31757. ~jerry
@particle - Status changed from 'new' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#59570 (status was 'resolved')
Searchable as RT59570$
The text was updated successfully, but these errors were encountered: