#!/usr/bin/perl -- BEGIN { use File::Spec; use File::Basename(); our $thisf = File::Spec->rel2abs( $0 ); our $thisd = File::Basename::dirname($thisf); } chdir $thisd or die "$! ## $^E"; chdir '../lib/XML/XSH2' or die "$! ## $^E"; use lib '.'; @ENV{qw{ LC_ALL LANG }} = qw{ C C }; require Grammar; XML::XSH2::Grammar::compile; exec $^X, qw/ -c Parser.pm /; __END__ #~ $(PERL) -e " chdir(qw{ lib/XML/XSH2 }); @ENV{qw{ LC_ALL LANG }} = qw{ C C }; require Grammar; XML::XSH2::Grammar::compile " #~ $(PERL) -c lib/XML/XSH2/Parser.pm