CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
is there any way to redirect a format to TK::Text

 



njalex
New User

Aug 26, 2002, 5:49 AM

Post #1 of 2 (1146 views)
is there any way to redirect a format to TK::Text Can't Post

hi,everyone:

i have a trouble in TK,please help me.i have a format like this

format ALARMLABEL_TOP =
ALARM REPORT
_______________________________________________________
NodeName :@|||||||
$node
Time :@|||||||||||||||||||| ,Priority: @||||||||
$time, $priority
Alarm_d :@|||||||||||||||||||||||||||||||||||||||||
$alarm_d
Parameters:@|||||||||||||, Subcodes: @|||||||
$parameters, $subcodes
========================================================
.

my trouble is i can't print this format in Tk::Text.how to redirect the format to the Tk::Text.

thanks a lot!!


thebitch
User

Aug 26, 2002, 11:35 PM

Post #2 of 2 (1142 views)
Re: [njalex] is there any way to redirect a format to TK::Text [In reply to] Can't Post

well, you need to look into perldoc perltie

you either need to write your own (reccomended),
and call it TIE::Tk::Text

or use

Tie::Handle

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives