The Application’s Name
The name of the application used in the
option file is, by default, the name of the file from which the
script is run. You can use the appname
method to change the name of the application:
$mw->appname("newname");
You can find out the current name of the application by calling
appname
with no arguments:
$name = $mw->appname;
For more details about the significance of the application name, see Chapter 20.
Get Mastering Perl/Tk now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.