Hi,
I'm looking at a script that takes a file on STDIN.

#######################################
#!/usr/bin/perl

my $input = \*STDIN;
print "$input\n";
######################################

If I run it  "script < somefile" the result is
GLOB(0x123ab458)

What can you do with that GLOB?
For instance to use the input file as a
string or array?
I've seen it used as input to new objects.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to