On Dec 15, 8:05 am, redt...@gmail.com (Mike Martin) wrote: > Hi > > I am trying pass a perl one-liner to at intact eg: > > echo 'perl -mLinux::DVB::DVBT -e 'my > $dvb=Linux::DVB::DVBT->new(O_NONBLOCK,'O_RDONLY');$dvb->set_frontend('frequency' > => '497167000','tsid' => '4222');my $file="/storage/burn/testol";my > $ref={pmt=>'10'};$dvb->set_demux(101,102);$dvb->record($file,"00:10",$ref); > ' > > The aim is to run the one-liner from at > > However echo strips the quotes so the command fails to run > > any ideas or alternative approaches
Are you sure about the constructor args...? --> $dvb=Linux::DVB::DVBT->new(O_NONBLOCK,'O_RDONLY') Isn't Fcntl missing? Why a quoted O_RDONLY? -- Charles DeRykus -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/