perl-io Questions

1

Solved

For several hours now I am fighting a bug in my Perl program. I am not sure if I do something wrong or the interpreter does, but the code is non-deterministic while it should be deterministic, IMO....
Reggy asked 9/8, 2014 at 3:27

1

The IO::File, IO::Socket::INET modules have some advantages over directly using perl's built-in IO functions, such as having explicit syntax to flush a handle. However, they seem to have some disa...
Gurge asked 19/12, 2013 at 20:51

1

Solved

I am rather an XS beginner and I am looking into changing an existing XS module which uses a 15+ year old underlying C library heavily (in fact the module is basically just glue to this library). T...
Adenectomy asked 5/6, 2013 at 8:59

4

Solved

I am trying to read unbufferd data from a pipe in Perl. For example in the program below: open FILE,"-|","iostat -dx 10 5"; $old=select FILE; $|=1; select $old; $|=1; foreach $i (<FILE>) { ...
Willianwillie asked 9/3, 2012 at 15:29

2

Solved

I am trying to write some XS code that exposes pieces a library to Perl code as a stream interface that can be written to. The get_stream function below is supposed to be a constructor that prepare...
Haynie asked 4/10, 2012 at 14:29

2

Solved

It looks like there is a symbol in main called '_<-' (without the quotes) in the same fashion as the other things that look like they could be handles: '_</usr/perl/lib/Carp.pm', for example....
Therapsid asked 3/8, 2012 at 20:14

3

Solved

I've some values stored in the variables $a,$b,$c. Now I've to load these values into new file (create file & load). I'm new to Perl, how can I do it?
Vulcanism asked 14/6, 2012 at 10:38

3

Solved

I want to redirect the die messages to a separate file so that I can compare that file later to determine what went wrong. But this code gives me errors: $ cat test.pl use strict; use warnings; ...
Sienese asked 15/10, 2010 at 6:55

12

Solved

Please note - I am not looking for the "right" way to open/read a file, or the way I should open/read a file every single time. I am just interested to find out what way most people use, and maybe ...
Dewitt asked 25/11, 2008 at 20:46
1

© 2022 - 2024 — McMap. All rights reserved.