[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: small bug in newdbprocessor
On 30-Apr-01 at 11:54, Matthias Urlichs (smurf@noris.de) wrote:
> > there is a comma where dot is needed:
> >
> > - if (open(RDBFILE, "<", $rdbfile)) {
> > + if (open(RDBFILE, "<". $rdbfile)) {
>
> The real solution is a "require 5.6.0" somewhere in front.
>
> Perl 5.6.0 has a new three-argument open() command which is safer
> than the old two-argument open().
If you can avoid version dependance, you should. IMnsHO.
With the change above, it will work with any perl5.
Eugene