Mot-clé - perl

Fil des billets

vendredi 13 avril 2012

Send http request without wget and with perl

image.jpg

Today I needed to request some url which do some updates on a database (nothing very tricky). But I can't use wget on the Unix servers we got because wget wasn't installed. First, I contact the Unix guy and ask if wget could be installed on the servers. Yes it can but there will be a delay for  […]

Lire la suite

mercredi 31 août 2011

Parse Windows dir command into csv

For a recent tiny project I have to parse the output of a recursive "dir" windows command into a format that can be easily imported into a database for further examination. So I have to change this : Directory of F:\XXXX 03/03/2010 11:39 AM 47,121 XXX.pdf into :  […]

Lire la suite