Re: [OT] script Perl
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Feb 14, 2006, at 2:42 PM, morphy wrote:
Ho scritto un piccolo script in perl sia con estensione txt sia con pl
il listato è quì sotto:
#!/usr/lib/perl
Tu hai l'interprete perl installato sotto /usr/lib?
Sostituisci #!/usr/lib/perl con l'output del comando: which perl,
vedrai che funziona.
$a = 10;
$b = "Sono una stringa";
print "a = $a\n";
print "b = $b1n";
quì si vede la versione del perl installato:
morphy@debian:~$ perl -v
"which perl"
ti mostra il path assoluto del binario perl.
Ric
- - Riccardo Tortorici -
Linux Registered User #365170
Count yourself @ http://counter.li.org/ !
- --
Encrypted Mails Welcome
GPG key: 0xF3FCE306 available on wwwkeys.pgp.net
GPG key fingerprint = C1C4 CA17 5135 8F5C 94C2 3347 4A22 67DB F3FC E306
- --
no1984.org - Stop TCG!
- --
HTML email can be dangerous, is not always readable, wastes bandwidth
and is simply not necessary please don't send them to me!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFD8ePmSiJn2/P84wYRAujOAJ0ZAVDJiOtfsffJAEtkO9hGvVA0QwCfQ6SI
KDTo0Ar4hAhqQ7h/+2mWP5M=
=g+/J
-----END PGP SIGNATURE-----
Reply to: