in reply to opening files where name is a concatenation of variable
You don't need (or want) dots for concatenation inside a string. Things just interpolate:
...">$basedir/output/file.text") or die ;
Phil
The Gantry Web Framework Book is now available.
In Section
Seekers of Perl Wisdom