Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 21:26:10 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Tony Finch <dot@dotat.at>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/update pkg_update.pl
Message-ID:  <200101050226.VAA65821@khavrinen.lcs.mit.edu>
In-Reply-To: <20010104224743.Z2140@hand.dotat.at>
References:  <xzp8zorla59.fsf@flood.ping.uio.no> <200101041509.f04F9kY06526@gratis.grondar.za> <xzp3dezl2gm.fsf@flood.ping.uio.no> <3A54A329.3A84087F@freebsd-services.co.uk> <20010104214946.W2140@hand.dotat.at> <3A54F477.DCD11D4B@originative.co.uk> <20010104224743.Z2140@hand.dotat.at>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 4 Jan 2001 22:47:43 +0000, Tony Finch <dot@dotat.at> said:

>> open(HANDLE, "<", $file)

> That must require perl 5.6 because it doesn't work in 5.005.

use IO::File;

{
	my ($handle) = new IO::File ($file, "r");

	blah_blah($handle);
}

...works in all versions of Perl 5 new enough to have IO::File.

-GAWollman



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101050226.VAA65821>