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 11:
Unknown directive: =list
- Around line 15:
Unknown directive: =list
- Around line 28:
Unknown directive: =list
- Around line 32:
Unknown directive: =list
- Around line 45:
Unknown directive: =list
- Around line 57:
Unknown directive: =list
- Around line 61:
Unknown directive: =list
- Around line 73:
Unknown directive: =list
- Around line 77:
Unknown directive: =list