Running PERL scripts on Linux authored on Windows
Friday, January 12th, 2007BEWARE: Running PERL scripts on Linux that have been authored on windows boxes is dangerous unless you run:
perl -pi -e ‘tr/\cM//d;’ /usr/local/scripts/dbi_variables.pl
BEWARE: Running PERL scripts on Linux that have been authored on windows boxes is dangerous unless you run:
perl -pi -e ‘tr/\cM//d;’ /usr/local/scripts/dbi_variables.pl
http://search.cpan.org/~jhi/String-Approx-3.26/Approx.pm
Install it using: perl -MCPAN -e ‘install “Text::CSV_XS”‘
Sorted.
mysql -u##### -p####### moodle < base_install_moodle.sql
edit /etc/my.cnf
type log=/var/log/mysql-querylog.log
RESTART mysql