Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: TECH: schcompile (Was: More Þrjótran)

From:Henrik Theiling <theiling@...>
Date:Saturday, April 22, 2006, 12:06
Benct Philip Jonsson wrote:
>OK I tried: > > D:\Benct\Conlang\schcompile-1.0001>perl /I.\perl schcompile > examples\s17.sch > > Can't open perl script "/I.\perl": No such file or directory
This means that /I is not the correct way to give Perl the 'I' option. Try -I instead or find some docs on how to invoke Perl with command line options.
> Use of uninitialized value in concatenation (.) or string at > schcompile line 9.
Aha, this is a minor flaw. Ignore the message for now, it's ok. I will fix it in upcoming versions.
> Can't locate HT/Erwin.pm in @INC (@INC contains: C:/Perl/lib > C:/Perl/site/lib . > /lib/perl) at schcompile line 11.
Erwin.pm is part of the distro. The 'I' option is the way to tell Perl were to search for it. It is in the subdirectory 'perl' in the extraction directory. Alternatively, copy it to (one of) the system-wide Perl module directories. @Carsten: I doubt you need to change the #! line to invoke the script via the Perl interpreter. It's for Unix systems to directly accept the script as an executable. To perl, it's (usually) just a comment. **Henrik

Reply

Benct Philip Jonsson <bpj@...>