Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Automating a shell session: cd does not workby pokki (Monk) |
on Jan 03, 2013 at 10:13 UTC ( [id://1011431]=note: print w/replies, xml ) | Need Help?? |
OK, it was definitely my fault. I keep telling myself I need to stop assuming the modules I use are at fault. I was doing $input = "new command\n" instead of $input .= "new command\n", so I guess in some cases existing input got clobbered before being pumped into the harness. Thanks again!
In Section
Seekers of Perl Wisdom
|
|