> Message du 11/12/08 10:27 > De : "hotkitty" > A : [email protected] > Copie à : > Objet : changing browsers? > > > Is there a way in mechanize or lwp to specify what browser I use? My > default is IE but I want to use Firefox for my perl scripts. >
Yes.
Check perldoc LWP::UserAgent and look for "agent" method,like:
$ua->agent('Mozilla/5.0');
--
Jeff Pang
http://home.arcor.de/pangj/
Créez votre adresse électronique [EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
