# New Ticket Created by  Yary 
# Please include the string:  [perl #127695]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127695 >


Combining -I, -M and the REPL gives an error with any attempted command, can't 
even exit. In the example below, I start up the REPL using -I and -M to load an 
existing module. The REPL can't find it, complains that it can't find it on 
each line, and then does not execute the given command. Which means, cannot 
even exit from the REPL by typing "exit," have to kill the moar process!

  perl6 -I c:\Users\yhluc00\Documents\GitHub\grammar-generative\lib -M 
Grammar::Generative
You may want to `panda install Readline` or `panda install Linenoise`
or use rlwrap for a line editor

   say 'Alive'
Could not find Grammar::Generative in:
    C:\Users\yhluc00\AppData\Roaming\.perl6\2016.01.1
    C:\rakudo\share\perl6\site
    C:\rakudo\share\perl6\vendor
    C:\rakudo\share\perl6
    CompUnit::Repository::AbsolutePath<109900832>
    CompUnit::Repository::NQP<104242840>
    CompUnit::Repository::Perl5<104242880>
  in any load_module at src/Perl6/World.nqp line 978
  in any do_pragma_or_load_module at src/Perl6/World.nqp line 909
  in any loading_and_symbol_setup at src/Perl6/World.nqp line 389
  in any comp_unit at src/Perl6/Grammar.nqp line 1138
  in any TOP at src/Perl6/Grammar.nqp line 441

   exit
Could not find Grammar::Generative in:
    C:\Users\yhluc00\AppData\Roaming\.perl6\2016.01.1
    C:\rakudo\share\perl6\site
    C:\rakudo\share\perl6\vendor
    C:\rakudo\share\perl6
    CompUnit::Repository::AbsolutePath<109900832>
    CompUnit::Repository::NQP<104242840>
    CompUnit::Repository::Perl5<104242880>
  in any load_module at src/Perl6/World.nqp line 978
  in any do_pragma_or_load_module at src/Perl6/World.nqp line 909
  in any loading_and_symbol_setup at src/Perl6/World.nqp line 389
  in any comp_unit at src/Perl6/Grammar.nqp line 1138
  in any TOP at src/Perl6/Grammar.nqp line 441

Reply via email to