19Fermer21
flankerLe 22/04/2007 à 19:58
Quelqu'un pourrait-il me dire pourquoi j'ai

mgallet@courge:~$ perl -MCPAN -e 'install Term::ANSIColor'
Can't locate object method "install" via package "Term::ANSIColor" at -e line 1.

-- OK
mais mgallet@courge:~$ perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install Term::ANSIColor
     blablabla
Installing /home/mgallet/local/share/perl/5.8/Term/ANSIColor.pm
Installing /home/mgallet/local/share/man/man3/Term::ANSIColor.3pm
  /home/mgallet/local/bin/make install -j3 

Normalement, c'est équivalent, non ? tsss


autre question conne, quand j'ai un time qui me renvoie :
real    0m22.090s
user    0m17.093s
sys     0m0.336s

le temps processeur consommé par le programme, c'est bien 17 secondes, c'est ça ? happy