I have a new debian install and am continuing to learn perl.
Whilst I know I should use perlbrew to keep my perl version separate
from my system version is there anyway to sandbox the perlbrew
environments.
So basically If I want to experiment and toy with different cpan apps
and so forth I can w
On 8/29/11 Mon Aug 29, 2011 7:53 AM, "Ramprasad Prasad"
scribbled:
> How can I open multiple FIFO files in perl and print to them simultaneously
The program below only opens one FIFO. Is your problem related to opening
multiple FIFOs or opening one FIFO?
> I tried a simple script does not wor
How can I open multiple FIFO files in perl and print to them simultaneously
I tried a simple script does not work
#!/usr/bin/perl
use strict;
use IO::File;
$|=1;
system("rm -f /tmp/fifo1;mkfifo /tmp/fifo1");
open (OUT,"> /tmp/fifo1") || die;
for (0 .. 10){
print "Hi $_\n";
print OUT "H
On 28/08/2011 19:48, Mike McClain wrote:
On Sat, Aug 27, 2011 at 08:16:50PM +0200, Dr.Ruud wrote:
I would like 'lazy' syntax like:
<$fh> x {/^#/ or print};
to process a list.
When I tried your code like so:
open my $fh, '<', $file or die qq(Unable to open $file: $! );
<$fh>