[Thread Prev][Thread Next][Thread Index]

Re: pad perl script



> >I changed the script to use /usr/dist/exe/perl.

I think this is the problem.  We have an internal "wrapper" script
that is a front end to perl.  I got pad working by changing the 
first few lines of the script to include:

	#! /bin/sh  --  # This comment tells perl not to loop.
	
	eval 'exec perl -S $0 ${1+"$@"}'
	        if 0;
	
	# Pilot Address Dumper (or Pretty Awesome D...)
	...
	
Also the attachment I received there were a bunch of wrapped
lines in the script.  This was causing other errors.  I attached
my working version below.

Brent Browning
JavaSoft/Sun Microsystems, Inc.	Phone: +1.408.343.1848
901 San Antonio Rd. CUP02-201	  Fax: +1.408.255.2959
Palo Alto, CA 94303		  WWW: http://www.sun.com/

Attachment: pad
Description: pad


SourceForge.net Logo