in reply to Re^2: Really Odd Bug With LWP and Device::SerialPort
in thread Really Odd Bug With LWP and Device::SerialPort
Well, there is some differences in the 'MAGIC' attributes before and after the substr (no MAGIC before, but MAGIC after) when you do Devel::Peek::Dump($data), but I don't know enough about that stuff to know what it means (non-magic unicode strings don't work with serial ports?).
This appears after the substr:
MAGIC = 0x6336a0 MG_VIRTUAL = &PL_vtbl_utf8 MG_TYPE = PERL_MAGIC_utf8(w) MG_LEN = -1
I would think that you might want to specify the encoding when writing to a serial port though.
Update: Sounds somewhat similar to this issue?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Really Odd Bug With LWP and Device::SerialPort
by kschwab (Vicar) on Aug 08, 2013 at 21:47 UTC | |
by runrig (Abbot) on Aug 09, 2013 at 16:43 UTC | |
by kschwab (Vicar) on Aug 09, 2013 at 18:25 UTC |
In Section
Seekers of Perl Wisdom