On 7/18/2004 2:22 AM, Glenn Linderman wrote:
use strict; use warnings; ##################################### sub hexdump { return ( '00000000: 33 33 33 33 33 33 33 33 33333333' . "\n" ); } ##################################### my $fh = *STDOUT;
print '' . & hexdump (); print & hexdump (); print $fh '' . & hexdump (); print $fh & hexdump (); __END__
Bonus round:
In addition to what I said in my previous post, a '+' can be used sometimes to disambiguate certain types of expressions. In this case, the results can vary depending on the placement of a single space:
print $fh +& hexdump (); # ok print $fh + & hexdump (); # error print $fh +&hexdump (); # ok print $fh + &hexdump (); # error
Why?
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs