in reply to problem running AT command from perl
"Steve",
"Roy" asked a very similar question in Unix batch from perl? Perhaps you'd find it equally enlightening.