Доступ к каталогам.
Пример:
chdir("/etc") die "cannot cd to /etc ($!)";
print "where do you want to go? "; chomp($where = <STDIN>); if(chdir $where) { # OK } else { # NOT }
Пример:
chdir("/etc") die "cannot cd to /etc ($!)";
print "where do you want to go? "; chomp($where = <STDIN>); if(chdir $where) { # OK } else { # NOT }