From: "John W. Krahn" <[EMAIL PROTECTED]> > Siegfried Heintze (Aditi) wrote: > > Can someone explain to why I have to remove the $ from $IN and $OUT > > and remove the "my" in "my $IN" and "my $OUT" to make it work? > > Older versions of Perl could not use lexical variables for filehandles.
And if you really do have to do that, your perl is so old that you really should consider updating it. I believe lexical filehandles were around since perl 5.6 (march 2000), but even if it was only since 5.8 (jul 2002) it's still plenty of time. Do yourself a favor and upgrade. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/