Besides what kennethk suggested, you might want to try Expect
In reply to Re: connect to AndroidDebugBrigde (adb) using PERL
by RonW
in thread connect to AndroidDebugBrigde (adb) using PERL
by State_Space
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |