RE: gestire la seriale in perl

2005-03-29 Per discussione giusans
/dev/ttyS0 ? > > >Che occhio non l'avevo notato. Grazie era proprio banale ma ... Adesso mi da un errore per me incomprensbile: (in cleanup) can't call method "setcflag" on an undefined value at /usr/lib/perl5/device/SerialPort.pm line 482 during global destruction Grazie Giuseppe -- To

Re: gestire la seriale in perl

2005-03-29 Per discussione Walter Valenti
> >> use Device::SerialPort; > >> $Port = new Device::SerialPort("/dev/ttys0"); > /dev/ttyS0 ? > > Che occhio non l'avevo notato. Be direi che รจ una buona ragione per non funzionare. Walter ___ Nuovo Yahoo

Re: gestire la seriale in perl

2005-03-29 Per discussione Carlo
Walter Valenti ha scritto lo scorso 29/03/2005 13.26: --- [EMAIL PROTECTED] wrote: Vorrei gestire la seriale in perl: #!/usr/bin/perl -w use Device::SerialPort; $Port = new Device::SerialPort("/dev/ttys0"); /dev/ttyS0 ? -- To UNSUBSCRIBE, email to [EMAIL PROTE

Re: gestire la seriale in perl

2005-03-29 Per discussione Walter Valenti
--- [EMAIL PROTECTED] wrote: > > > Vorrei gestire la seriale in perl: > > #!/usr/bin/perl -w > > use Device::SerialPort; > $Port = new Device::SerialPort("/dev/ttys0"); > $Port->baudrate(9600); > $Port->parity("none"); > $Port->databits(8); > $Port->stopbits(1); > $Port->handsh