sub logroll { my $logs = new Logfile::Rotate (File => $_, <---- your problem is here
You're not using the argument given to &logroll(), instead, you're using $_, which is set to the currently read line from one of your filehandles.
Also, proper indenting of your code will make it a lot clearer. perltidy might help.
In reply to Re: logfile rotate w/ pass by reference
by Joost
in thread logfile rotate w/ pass by reference
by drock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |