As i see, its not possible to set databits to 9 directly when using Device::SerialPort. Is there any way to read 9 bit frames from a special serial source? 9th bit means the starting of new packages, so it should be handled somehow... Is it possible to use the parity bit for this? Only reading is required, sending is not necessary...

but now i need 1 startbit + 9 databit + 1 stopbit, where the 9th databit is a control bit. on PIC microcontrollers, You can write/read the parity bit register by software to implement the 9th bit - but i dont know if its possible in perl...