[comp.lang.perl] Input Op Bug?

jsb@cs.brown.edu (John Bazik) (03/01/91)

This:
	%foo=(a,A);
	open(A, "date|");
	@t=<$foo{a}>;
	print $t[0], "\n";

Yields this:

	AD

But this:

	%foo=(a,A);
	open(A, "date|");
	$t=$foo{a};
	@t=<$t>;
	print $t[0], "\n";

Yields this:

	Thu Feb 28 17:01:25 EST 1991

So, assoc array ref's don't work in angle brackets?  Or did I goof?
I'm at pl41.

John Bazik
jsb@cs.brown.edu