What to do this this demo:
Prep work
Close all Notepad and WordPad windows on your desktop
First Demo
Run demo.pl
Open Notepad
Watch. It will open the demo.pl file in Notepad and then close the window. This demonstrates the simplest path through the demo.
Second Demo
Open Notepad. Type some random text in the window.
Run demo.pl
It will attempt to open the demo.pl file, but first Notepad will ask if the existing file should be saved. The script will save it to C:\TEMP\Saved.txt.
Third Demo
Repeat the above steps
This demonstrates that the cnfm options to the dialog on saving the stuff to Saved.txt works.
Fourth Demo
Run demo.pl
Open WordPad
This demonstrates the fork - operates on either Notepad or WordPad.
What doesn't work
The demo doesn't deal with an open Notepad that has an existing _file_ open, rather than Untitled.
The demo doesn't display as much flexibility with respect to WordPad
9 POD Errors
The following errors were encountered while parsing the POD:
- Around line 13:
Unknown directive: =list
- Around line 17:
Unknown directive: =list
- Around line 30:
Unknown directive: =list
- Around line 34:
Unknown directive: =list
- Around line 47:
Unknown directive: =list
- Around line 59:
Unknown directive: =list
- Around line 63:
Unknown directive: =list
- Around line 75:
Unknown directive: =list
- Around line 79:
Unknown directive: =list