in reply to send command to RS232, then get data from RS232
It appears that SerialPort.pm is looking for something to call the "setcflag" method on; furthermore it's being done "during global destruction", which makes me think it's being called during object destruction (that is, as a default destructor).root@linux5 root# perl -W tt.pl (in cleanup) Can't call method "setcflag" on an undefined value at /us +r/lib/perl5/site_perl/5.8.0/Device/SerialPort.pm line 541 during glob +al destruction.
|
|---|