One thing at a time all the time!

Welcome to Rocteur
Thursday, March 28 2024 @ 09:11 PM CET

HOWTO delete a directory in one command

#!/usr/bin/perl -w

use strict;

use File::Path qw(rmtree);
rmtree('/tmp/printers/') or print "can't delete $!\n";

FAQ Manager » Perl » HOWTO delete a directory in one command