How should I print the Global special constant Variable in the double quote. I should not use the temporary variable also to store
print "This is the package =>" . __PACKAGE__ . "<="; (or) $pack = __PACKAGE__; print "This is the package => $pack <=";
instead of the above statement I need to use the variable in print statement as follows.
print "This is the package => __PACKAGE__ <=";
In reply to Print the Global special constant Variable by aantonyselvam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |