Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

parrot -I?

5 views
Skip to first unread message

Amir Karger

unread,
Aug 10, 2005, 2:27:02 PM8/10/05
to parrot
If I say "perl Zcode/t/harness" I want it to run "parrot Zcode/z3.imc
testfile.z3". My current problem is that z3.imc includes a file
z3main.imc. So the above command breaks because z3.imc can't find the
include file. If this were Perl, I would just say "Perl-IZcode
Zcode/z3.imc testfile.z3". But I can't seem to do that in Parrot. Does
parrot really look only in the lib directory and nowhere else for .imc
includes? Or am I doing this incorrectly?

-Amir

Leopold Toetsch

unread,
Aug 11, 2005, 7:39:04 AM8/11/05
to Amir Karger, parrot

Parrot also looks in the current working directory for files.

.include "Zcode/z3main.imc"

should work.

> -Amir

leo

0 new messages