Re: boo-boo in run docs?

[email protected] (Peter Pentchev) Thu, 6 Nov 2025 18:18:41 +0200
Newsgroups perl.perl6.users
Message-ID <[email protected]>
On Thu, Nov 06, 2025 at 06:16:28PM +0200, Peter Pentchev wrote:
> On Thu, Nov 06, 2025 at 02:27:43AM -0800, ToddAndMargo via perl6-users wrote:
> > On 11/6/25 1:57 AM, Peter Pentchev wrote:
> > > It doesn't need to be; the documentation of `run` already points to
> > > the documentation of `Proc`, as you point out.
> > 
> > In that case, "run's" documentation should have ended at
> > the Proc link.  None of the examples should have been
> > included.  No need for further discussion.
> 
> That is not true, since the examples document how one can use `run`
> to start a program; the fact that the returned value is a `Proc`
> object does not matter. The documentation for `run` documents how
> you use `run`; the documentation for `shell` documents how you
> use `shell`. In both cases, they refer to the documentation for `Proc`
> so that they don't have to repeat what is already written there.

...and, perhaps even more importantly, so that the documentation for
either `run` or `shell` does not need to be changed if something
changes in `Proc`.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmkMymEACgkQZR7vsCUn
3xPYjRAAwXtN7s8ue3CtYAIVZadE2uEZ04X3A0gFMNxFGrUCyaPiLTbVtl6opGhD
vmt9TS95qX5HqtARQJ8tw5G/uBUoON4fP0d0diFjLeX5jtCnIJUD1EqDBZ45/fZx
dl2KN/D12Bsx/omXekSWzyY5DtsccRozyc/DdMJ4QyEWDWjsGBPmOLowuHcxB6Jg
HOUuBPV2boSHURUBHIIBXRdyCkfoP6qY3iWXuaDWGjGx/EwYdhCXt2s3P4AOs79D
yfJijRxZgpGa74GuAJNyGgUo7QZCV9ZTrPLtMFMam/LTKrtbYDjIykXDO6pyxZuA
7m71XwftnvBRyEEQOoD4lbuI2XPPuSTn/9woWOnYHg1im34S9vfJoKUZzsUDf5Hm
YiIglICAwiRPqA2ivN1wI27UqtsQrCkRf/IZUJSWmoXle7N7jUhB94qDlnSVZT7K
pPLZtbp/EHtCVgstBd3aZ0jMkdUS8Ft1FCzD2RO6BwwJkmaGUKK9mO1hXLNsKGLV
ZI0Z3IvuP7XFckgm/VXkSKBWb4Rx3gUqr8/7vkQl4nLEiYuiq1Fpn+ln41yjEEgn
rY8yS9W6FG1tuZh+fxE9/g7Fo/o4FiHgik0U6wj0alKodSMpLvFCIQYWQeS7dN9O
ivFo+lS55BR+Um4rRZ+cAfvq2NxqarDjNSY9+kdimhen8IeHuGA=
=XCLe
-----END PGP SIGNATURE-----