Yun yun wrote:
> 
> What is the meanings of the following two expressions?
> 1.$var1{$var2}

This is the value from the hash %var1 using the key $var2


> 2.$var1($var2)

$ perl -MO=Deparse -e'$var1($var2)'
syntax error at -e line 1, near "$var1("

This is a syntax error.


John
-- 
use Perl;
program
fulfillment

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

Reply via email to