Uso los sistemas de administración de CentOS ANTES de instalar los programas a mano...
En tu caso, como es una distribución basada en Red Hat, será usando el yum.
[root@localhost ~]# perl5.8.8 -v
This is perl, v5.8.8 built for i686-linux
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[root@localhost ~]# perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
[root@localhost ~]#
[root@localhost ~]# perl FTP_script.pl
Global symbol "$sec" requires explicit package name at FTP_script.pl line 24.
Global symbol "$min" requires explicit package name at FTP_script.pl line 24.
Global symbol "$hour" requires explicit package name at FTP_script.pl line 24.
Global symbol "$mday" requires explicit package name at FTP_script.pl line 24.
Global symbol "$mon" requires explicit package name at FTP_script.pl line 24.
Global symbol "$year" requires explicit package name at FTP_script.pl line 24.
Global symbol "$wday" requires explicit package name at FTP_script.pl line 24.
Global symbol "$yday" requires explicit package name at FTP_script.pl line 24.
Global symbol "$isdst" requires explicit package name at FTP_script.pl line 24.
Global symbol "$year" requires explicit package name at FTP_script.pl line 25.
Global symbol "$year" requires explicit package name at FTP_script.pl line 25.
Global symbol "$mon" requires explicit package name at FTP_script.pl line 26.
Global symbol "$mon" requires explicit package name at FTP_script.pl line 26.
Global symbol "$fecha" requires explicit package name at FTP_script.pl line 27.
Global symbol "$year" requires explicit package name at FTP_script.pl line 27.
Global symbol "$mon" requires explicit package name at FTP_script.pl line 27.
Global symbol "$mday" requires explicit package name at FTP_script.pl line 27.
Global symbol "$hour" requires explicit package name at FTP_script.pl line 27.
Global symbol "$min" requires explicit package name at FTP_script.pl line 27.
Global symbol "$fecha" requires explicit package name at FTP_script.pl line 30.
Global symbol "$fecha" requires explicit package name at FTP_script.pl line 31.
Bareword found where operator expected at FTP_script.pl line 37, near "${ARCHIVO}_"
FTP_script.pl has too many errors.
[root@localhost ~]#
Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 6 invitados