Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Display or link a file

by roboticus (Chancellor)
on May 18, 2014 at 22:19 UTC ( [id://1086562]=note: print w/replies, xml ) Need Help??


in reply to Display or link a file

prince26121991:

You could always make one of the resident programs on your system do the display, something like:

sub help_button_handler { if (! fork()) { system("/usr/bin/ghostscript", $path_to_help_file); } }

Note: I don't use the Tk module, so forking may not be the best method to spawn off a process to display the PDF file, but there will be some equivalent technique if this is the wrong one.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found