Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: ptknotes

by xjar (Pilgrim)
on Jun 14, 2002 at 16:21 UTC ( #174605=note: print w/replies, xml ) Need Help??


in reply to ptknotes

The following line:
$main_new=$main->Button(-text=>"New",-command=>'newnote', -padx=>0,-pady=>0)->pack;
caused problems running this on a Win32 environment, but changing it to:
$main_new=$main->Button(-text=>"New",-command=>sub{newnote;}, -padx=>0,-pady=>0)->pack;
ran perfectly.

Also, and this is just my own aesthetic preference, changing the geometry size of the notes to 100x100 makes them look a little more sticky-noteish, but that's just me.

xjar

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://174605]
help
Chatterbox?
[LanX]: oh you want the result line by line?
[jdporter]: ok, LanX, then what?
[jdporter]: It doesn't have to be line by line. Just "my program" "writes" to the external prog and also/then "reads" from it.
LanX open (You are not allowed to open to a command that pipes both in and out, but see IPC::Open2, IPC::Open3, and Bidirectional Communication with Another Process in perlipc for alternatives.)
[jdporter]: IPC::Open2, I guess
[jdporter]: yes, that

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-05-24 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?