Skip to content
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

$*PROGRAM_NAME erroneously reports the first argument to 'perl6', even when this argument isn't a program name in Rakudo #2776

Closed
p6rt opened this issue May 24, 2012 · 10 comments

Comments

@p6rt
Copy link

p6rt commented May 24, 2012

Migrated from rt.perl.org#113078 (status was 'resolved')

Searchable as RT113078$

@p6rt
Copy link
Author

p6rt commented May 24, 2012

From @masak

<moritz> $ perl6 -Ilib -e 'say $*PROGRAM_NAME'
<moritz> -Ilib
<moritz> /o\
* masak submits $*PROGRAM_NAME bug

@p6rt
Copy link
Author

p6rt commented May 25, 2012

From @moritz

I've now fixed the case of perl6 -Ilib testscript.pl, but it's still
off for -e oneliners -- in that case it currently picks the command line
argument after the program as $*PROGRAM_NAME.

@p6rt
Copy link
Author

p6rt commented May 25, 2012

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented May 25, 2012

From @moritz

Now fixed in 2012.05-45-g5274a37. But testing it will require hacking up
Test​::Util a bit, so will be a bit more work than usually.

@p6rt
Copy link
Author

p6rt commented Jan 8, 2013

From @moritz

Now tested in S02-magicals/progname.t.

The test is kinda suboptimal, but I can't come up with a better one
right now.

@p6rt
Copy link
Author

p6rt commented Jan 8, 2013

@moritz - Status changed from 'open' to 'resolved'

@p6rt
Copy link
Author

p6rt commented Apr 20, 2015

From @coke

On Tue Jan 08 13​:19​:13 2013, moritz wrote​:

Now tested in S02-magicals/progname.t.

The test is kinda suboptimal, but I can't come up with a better one
right now.

This test is creating an empty directory called 'GNOREME' in the top of the rakudo checkout dir. Test needs to be cleaned up; re-opening ticket.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Apr 20, 2015

@coke - Status changed from 'resolved' to 'open'

@p6rt
Copy link
Author

p6rt commented May 14, 2015

From @coke

On Mon Apr 20 08​:34​:04 2015, coke wrote​:

On Tue Jan 08 13​:19​:13 2013, moritz wrote​:

Now tested in S02-magicals/progname.t.

The test is kinda suboptimal, but I can't come up with a better one
right now.

This test is creating an empty directory called 'GNOREME' in the top
of the rakudo checkout dir. Test needs to be cleaned up; re-opening
ticket.

23​:14 < jdv79> [Coke]​: i can't repro the last issue you raised on #​113078

And now I can't either; closing ticket.

--
Will "Coke" Coleda

@p6rt p6rt closed this as completed May 14, 2015
@p6rt
Copy link
Author

p6rt commented May 14, 2015

@coke - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant