in reply to Reformating pathname

$path =~ s/input01/output61/;

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>