Jump to content
8 posts in this topic

Recommended Posts

Ok, I need to figure out how to run perl scripts...

 

I've got some iphone backups that apparently I can go thorugh and restore...but i need to use perl scripts, but have no idea how to run them..

 

here's the site...

http://www.tuaw.com/2007/07/10/scanning-yo...e-backup-files/

 

thanks for any help!

K

Link to comment
https://www.insanelymac.com/forum/topic/97347-how-to-run-perl-scripts/
Share on other sites

Perl scrips run natively on Mac OS X.

 

Uninstall script of XCode is a perl one.

 

On terminal if you have perl script just type "perl script.pl" or "./script.pl" (if it has the path to the perl interpreter).

Perl scrips run natively on Mac OS X.

 

Uninstall script of XCode is a perl one.

 

On terminal if you have perl script just type "perl script.pl" or "./script.pl" (if it has the path to the perl interpreter).

 

but when I run ./users.../bkupextract.pl it says "No such file or directory"

 

see the .pl file attached

bkupextract.pl.zip

whcih you can check by issueing the command

 

echo $PATH

 

on the command line.

 

in case it's not set there, you can do that temporarily by

 

export PATH=$PATH:/usr/bin

 

or forever by modifying the file

 

~/.profile

 

and inserting the above command in there ;)

 

edit: /etc/profile would fit too, of course.

×
×
  • Create New...