The following module was proposed for inclusion in the Module List: modid: Tk::MIMEApp::DataToTk DSLIP: adpf2 description: shortcut to use Tk::MIMEApp with __DATA__ userid: JIMI (Jimi Carlo Wills) chapterid: 8 (User_Interfaces) communities: comp.lang.perl.modules
similar: rationale: This provides a shortcut to use Tk::MIMEApp with the __DATA__ section of a file... e.g. #!perl use strict; use Tk::MIMEApp::DataToTk; # exports data2tk (BY DEFAULT!) data2tk; ## this does all the work... __DATA__ MIME Version: 1.0 Content-Type: multipart/mixed; boundary=##--##--##--##--## Title: Window Title Here is a prologue --##--##--##--##--## Content-Type: application/x-ptk.markdown Title: _Basic MarkDown ID: Page1 ... et cetera! enteredby: JIMI (Jimi Carlo Wills) enteredon: Mon Dec 30 15:12:37 2013 UTC The resulting entry would be: Tk::MIMEApp:: ::DataToTk adpf2 shortcut to use Tk::MIMEApp with __DATA__ JIMI Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=89f00000_1686e067d18ce9af&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=89f00000_1686e067d18ce9af&SUBMIT_pause99_add_mod_insertit=1 Peek at the current permissions: https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Tk%3A%3AMIMEApp%3A%3ADataToTk