Thread: perl for kindle
View Single Post
Old 02-16-2012, 11:31 PM   #18
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Well, it's up to you if you move the files or tell the script from the shebang where it can find them

The latter method has the advantage that it works for everyone without needing to modify
the perl package. (Just in case you intend to distribute some scripts some day).

You don't need to set the PATH at all if you set the shebang correctly in the script.

Last edited by ixtab; 02-16-2012 at 11:33 PM.
ixtab is offline   Reply With Quote