in reply to Newbie Question: Permission Denied
It's likely you don't have write permission on the output directory, possibly the permissions changed when you ran as root. If that's the problem, sudo to root and change the permissions back.
In Section
Seekers of Perl Wisdom