T
Todd
What causes the difference below?
#! /bin/perl -l
$h = *STDOUT{IO};
print $h "hello";
__END__
hello
#! /bin/perl -l
print *STDOUT{IO} "hello";
__END__
String found where operator expected at - line 2, near "} "hello""
(Missing operator before "hello"?)
syntax error at - line 2, near "} "hello""
Execution of - aborted due to compilation errors.
Thanks,
Todd
#! /bin/perl -l
$h = *STDOUT{IO};
print $h "hello";
__END__
hello
#! /bin/perl -l
print *STDOUT{IO} "hello";
__END__
String found where operator expected at - line 2, near "} "hello""
(Missing operator before "hello"?)
syntax error at - line 2, near "} "hello""
Execution of - aborted due to compilation errors.
Thanks,
Todd