in reply to running notpade from perl
Notice the absence of any reference to NOTEPAD.my $generatedfile = "outfile.txt"; system $generatedfile ;
This makes the program independent of the Name or location of Notepad. It makes the program more friendly, because it invokes the DEFAULT text editor, which may be different from notepad (Mine is ConText, not notepad).
Yes, it adds a dependency on the file type, but that is under your control, and I think the friendliness and resiliancy of this method make it superior.
|
|---|