Executing TL1 commands through script

HI ,

I have to write a script for some testing , which will telnet to a device and execute some TL1 commands..
Does any one knows how to execute TL1 commands through a script

Thanks in advance
Binu

There are some useful perl modules to manage TL1 sessions, take a look at them.