Tag Archives: perl
PERL input and output files
To read an input file, edit your data and put it to an output file try this: #! /usr/bin/perl -w use strict; my $file = “in.csv”; my $outfile = “out.csv”; open(IN, “<$file”) or die “Could not open $file\n”; open(OUT, “>$outfile”) … Continue reading
PERL connect to SQL server
To connect you PERL application to an SQL server is pretty easy. First you need the driver for supporting SQL connections. Install driver: Open command prompt Typ: ppm install DBD-mysql After a correct installation of the driver your SQL connection … Continue reading
First steps in Perl parsing CSV from Mamut to Joomla Virtuemart
Today at the office I was asked to help migrating the webshop from Mamut to Joomla Virtuemart. I installed the new webshop, and used the plugin CSVImport to import all data about the products. As allways Mamut was a pain … Continue reading