Home: Perl Programming Help: Beginner:
Unparseable arguments received: \



tharpa
Novice

Apr 13, 2018, 6:50 AM


Views: 6067
Unparseable arguments received: \

I am executing the following command:

Code
module-starter --module=Convert::Distance::Imperial \            
--author="Curtis 'Ovid' Poe" --email=ovid@cpan.org


However, I am receiving the following error:
Unparseable arguments received: \

Code
 
The error message gives as an example:

module-starter --module=Foo::Bar,Foo::Bat \
--author="Andy Lester" --email=andy@petdance.com


which seems to match what I am entering.


FishMonger
Veteran / Moderator

Apr 13, 2018, 6:58 AM


Views: 6066
Re: [tharpa] Unparseable arguments received: \

Have you tried executing it on a single line instead of 2 lines?


Quote
module-starter --module=Foo::Bar,Foo::Bat --author="Andy Lester" --email=andy@petdance.com



tharpa
Novice

Apr 13, 2018, 7:06 AM


Views: 6063
Re: [FishMonger] Unparseable arguments received: \


In Reply To
Have you tried executing it on a single line instead of 2 lines?


Quote
module-starter --module=Foo::Bar,Foo::Bat --author="Andy Lester" --email=andy@petdance.com



That seemed to work, thanks. I.e. my error changed, to a permissions error, which I can work on next. But it does seem to odd to me that the example in the documentation has it on two lines, but that that doesn't work for me. But maybe that's just a limitation of the terminal width.


FishMonger
Veteran / Moderator

Apr 13, 2018, 7:13 AM


Views: 6059
Re: [tharpa] Unparseable arguments received: \

I would need to run some tests but the error is most likely due to the shell not parsing the multi line command correctly before passing it to module-starter.


tharpa
Novice

Apr 16, 2018, 8:47 AM


Views: 6045
Re: [FishMonger] Unparseable arguments received: \


In Reply To
I would need to run some tests but the error is most likely due to the shell not parsing the multi line command correctly before passing it to module-starter.


It looks like Windows does not support the \ continuation character.