Theiling Online    Sitemap    Conlang Mailing List HQ   

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

From:Benct Philip Jonsson <bpj@...>
Date:Saturday, April 22, 2006, 13:07
Whaddayaknow: I entered your command line exactly as you
wrote it:
	perl -I./perl schcompile examples/s17.sch
and it worked!  I hope I now can simply put the
resulting file in my perl directory and test it.

BTW You haven't told how to use the s17.pm module
in perl!  Does it define (a) function(s) like

	$derived_word = soundchange($source_word);

or what?

Henrik Theiling skrev:
> 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 > >
-- /BP 8^)> -- Benct Philip Jonsson -- melroch at melroch dot se "Maybe" is a strange word. When mum or dad says it it means "yes", but when my big brothers say it it means "no"! (Philip Jonsson jr, age 7)

Reply

Henrik Theiling <theiling@...>