O'Reilly logo

Mastering Perl/Tk by Nancy Walsh, Stephen Lidie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 appnamemethod 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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required