Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/03/2003, 16:05
Avatar de SpiceMan
SpiceMan
 
Fecha de Ingreso: noviembre-2002
Mensajes: 160
Antigüedad: 21 años, 6 meses
Puntos: 0
hmm

esto a mi me funciono:
a.pl
Código:
#!/usr/bin/perl
 
$ENV{'bla'} = 'bla';
system ('perl b.pl');
b.pl
Código:
#!/usr/bin/perl
 
print $ENV{'bla'}."\n";
por lo que hacer:
Código:
#!/usr/bin/perl
 
$ENV{'HTTP_PROXY'} = 'http://proxy:8080';
system ('wget http://pagina');
deberia funcionar