Hello guys,
i have a question concerning both PDL and TK. I make a GUI in Perl/Tk for a program which uses PDL for the matrix calculations. Out of the PDL program comes output which can be further investigated. So i make some scripts for doing this and will include them in the GUI like buttons but i would like to give the user the chance to do himself investigation of the result using himself the PDL. So i would like to have in a TAB or separate window of TK a running PDL instance. I have seen i can run scripts and commands out of pdl together with "&" which would be the perfect solution i thought but then i tried and got some error messages:

perldl> #metavis.pl
./metavis.pl: line 2: use: command not found
./metavis.pl: line 3: use: command not found
./metavis.pl: line 4: use: command not found
./metavis.pl: line 5: use: command not found
./metavis.pl: line 6: use: command not found
./metavis.pl: line 7: use: command not found
./metavis.pl: line 8: use: command not found
./metavis.pl: line 9: use: command not found
./metavis.pl: line 10: use: command not found
./metavis.pl: line 11: use: command not found
./metavis.pl: line 13: =MainWindow-: command not found
./metavis.pl: line 14: syntax error near unexpected token `('
./metavis.pl: line 14: `$mw->geometry("500x300");'

When i tried to run the script with "pdl -tk -f metavis.pl" command line it was functioning well only i didnt have the pdl propmt free to use.

I would appreciate any kind of help on the subject.
Thank you for your attention and time.

Greetings
Dimitar

--
------------------------------------

Dimitar Kenanov

Friedrich-Schiller-University Jena
Department of Bioinformatics
Ernst-Abbe-Platz 2
07743 Jena
Germany

Room  :    3424
Phone :    03641-949584
Fax   :    03641-946452
E-Mail:    [EMAIL PROTECTED]


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to