On 01/07/2010 03:41 PM, I=F1aki Baz Castillo wrote:
> Hi, the rdoc says that "w+" means:
>=20
>   "w+":  Read-write, truncates existing file to zero length or creates =
a
>          new file for reading and writing.
>=20
> however in a post I've read:
>=20
>   output =3D open("my_pipe", "w+") # the w+ means we don't block
>=20
> Is it true? AFAIK it's not correct as you open a IO and later use bocki=
ng or=20
> non-blocking methods. Do I miss something?

No. RI is RIght. ;-)

Kind regards

	robert

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/