Open and perl sub

--00000000000070b28f058f9c0bac
Content-Type: text/plain; charset="UTF-8"

Is it possible to have the output of a perl module piped to open (open3 in
my case), so I can use a file handle contains the output passed to sysread

Odd question I know

Thanks

--00000000000070b28f058f9c0bac
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Is it possible to have the output of a perl module piped =
to open (open3 in my case), so I can use a file handle contains the output =
passed to sysread<div dir=3D"auto"><br></div><div dir=3D"auto">Odd question=
 I know=C2=A0<br><div dir=3D"auto"><br></div><div dir=3D"auto">Thanks</div>=
</div></div>

--00000000000070b28f058f9c0bac--
0
beginners
8/8/2019 2:40:42 PM
perl.beginners 29360 articles. 3 followers. Follow

1 Replies
50 Views

Similar Articles

[PageSpeed] 50

Hi Mike,

On Thu, 8 Aug 2019 15:40:42 +0100
Mike Martin via beginners <beginners@perl.org> wrote:

> Is it possible to have the output of a perl module piped to open (open3 in
> my case), so I can use a file handle contains the output passed to sysread
>=20
> Odd question I know
>=20

you can use https://en.wikipedia.org/wiki/Fork_(system_call) ,
https://duckduckgo.com/?q=3Ddup+unix&atb=3Dv140-1&ia=3Dweb , "open >&" , et=
c.

> Thanks



--=20
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

A person with one watch knows what time it is; a person with two watches is
never sure.   =E2=80=94 Proverb [via fortune-mod]

Please reply to list if it's a mailing list post - http://shlom.in/reply .
0
shlomif
8/8/2019 4:07:29 PM
Reply: