Eric Wilhelm wrote:
# from m.nooning
# on Sunday 28 January 2007 01:17 pm:

c:\aaa>unzip foo.exe MANIFEST
C:\aaa>type MANIFEST
...
lib/C:/perl/site/lib/sitecustomize.pl

Ok, so whatever this sitecustomize thing is, that explains how you managed to get an absolute filename require()d from hello world.

Try the latest Module::ScanDeps

  http://svn.openfoundry.org/par/Module-ScanDeps/trunk

--Eric

SUCCESS!

Thanks, Eric

It looks like there are several things fixed.

I did
C:\svn\par\Module-ScanDeps>svn checkout http://svn.openfoundry.org/par/Module-ScanDeps/trunk

-----------paste just -c is fixed
C:\aaa>del *.exe

C:\aaa>type hello.pl
print "hello\n";

C:\aaa>pp -c hello.pl

C:\aaa>a
hello
-------------end paste just -c is fixed

Another thing, with the original t1.pl, which has a "use mylib" in it, I ran
C:\aaa>pp -c t1.pl

The resultant a.exe ran fine, so it looks like pp will pick up mylib without "--lib mylib" on the pp command line. At least if the directory mylib is in the current directory.


Another thing, -c --lib together are okay.
C:\aaa>del *.exe
C:\aaa>pp -c --lib mylib t1.pl
The resultant a.exe ran fine.





Reply via email to