Using PerlIO to add an encryption layer

2006-06-13 Thread Florian Weimer
r file handle in its implementation? After all, the encryption layer is completely opaque as far as line translation, buffering etc. are concerned, and there doesn't seem to be a more direct way to encode this in the PerlIO abstraction. -- Florian Weimer<[EMAIL PROTECTED]> BFK

char * argument, undef -> NULL

2007-09-07 Thread Florian Weimer
nolen($arg) : NULL; This works, but I wonder if there is a built-in solution. -- Florian Weimer<[EMAIL PROTECTED]> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99

Re: char * argument, undef -> NULL

2007-09-10 Thread Florian Weimer
be happy taking the last definition it finds. You could do > the same with T_PV. Oh, in other cases, the definedness check is quite convenient. -- Florian Weimer<[EMAIL PROTECTED]> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96

Returning an array reference or nothing

2010-06-07 Thread Florian Weimer
) { EXTEND(SP, 1); PUSHs(newRV_inc((SV*)result)); } It's not mentioned in perlxs, but some CPAN modules seem to use this. -- Florian Weimer BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-