On Fri, Sep 24, 2010 at 14:30, Alex Riesen <raa.lkml@xxxxxxxxx> wrote: > Maybe it is not the syntax (the separate argument for open mode > in this case), but the initialization of $fh to 'undef' which is the > problem here? That's correct, I believe, but I also think the underlying problem here is having support for dynamic filehandles which can be exported. You could assign something to $fh and then call open(), but that won't give you what the code asks for. It should in principle be possible to replace my $fh = undef; open ($fh..) with use FileHandle; my $fh = new FileHandle (...) etc. which works also on Perl 5.6. When I first ran into this I did a little bit of hacking in that direction, but I didn't make a full effort and didn't get it to work - in the meantime the customer system which required perl 5.6 (for performance reasons) migrated to a later version of AIX and I was then free to upgrade the perl version to 5.8 on this (my maintance copy of their system), in other words I wasn't affected by the problem anymore and abandoned what I had started working on. -Tor -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html