What makes you so certain that $filename is not empty?
Does your program work if you hardcode the output filename?
Did you print $filename just before your call to ->mirror()?
In reply to Re^3: Problem in mirror method
by Corion
in thread Problem in mirror method
by perlmad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |