Thursday, July 10, 2008

namefix.pl perl module install guide

For all users running namefix.pl as a perl script (ie unix & osx) who encounter dependency issues try running these commands:
perl -MCPAN -we 'install "MP3::Tag"'
perl -MCPAN -we 'install "Tk"'
perl -MCPAN -we 'install "Tk::DynaTabFrame"'
Should these commands fail (Tk insists on passing all its tests, for namefix.pl 90% pass is more than enough most times) try force installing the modules:
perl -MCPAN -we 'force install "MP3::Tag"'
perl -MCPAN -we 'force install "Tk"'
perl -MCPAN -we 'force install "Tk::DynaTabFrame"'



On other news, I am slowly working on the namefix.pl cmd line options, if anyone has a copy of the old 2.0 cmd line version please email me. Please feel free to help with the options, Im still deciding on what letters will = what functions.

The initial cmd line version with use the following syntax:
namefix.pl -[options] [file/directory]

much like the original 1.0 and 2.0 versions, but once that has been sorted I will do a proper unix style namefix.pl:
namefix.pl -r --sp:spaces --case [file/directory]

This will come once Im happy with the cmd line code.

No comments: