Any reason you couldn't do this?
--t. alexsub trash { my ($o, $item) = @_; eval ( ( -d $item ) ? rmtree ( $item ) : unlink ( $item ) ); $o->log ( 'error', "$item": $@" ) if ( $@ ); }
In reply to Re: My first thought was to build a macro... was I right?
by talexb
in thread My first thought was to build a macro... was I right?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |