Is the prehook coderef able to alter @_ so that the real open op can get different arguments?
Like:
overload::open->prehook_open(sub {
if ($_[1] eq 'foo.txt') {
$_[1] = 'bar.txt';
}
});
This queue is for tickets about the overload-open CPAN distribution.
The Basics
People
|
Bug Information
|