Special Literals
Literal Description
__LINE__ Represents the current line number
__FILE__ Represents the current filename
__END__ Represents the logical end of the script; trailing garbage is ignored
__DATA__ Represents a special filehandle
__PACKAGE__ Represents the current package; default package is main
print "The script is called", __FILE__, "and we are on line number ",__LINE__,"\n";
|