On 8/28/07, Chris <[EMAIL PROTECTED]> wrote:
> I want to install IO::Scalar. However, I can't find it with the
> Active Perl's Perl Package Manager. Do this module still exist?
They probably no longer package it because Perl no longer needs it:
#!/usr/bin/perl
use strict;
use warnings;
my $not_a_file = "this is\nnot\nreally a file";
open my $fh, "<", \$not_a_file
or die "could not open \$not_a_file:$!";
while (<$fh>) {
chomp;
print "[$_]\n";
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/