[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [PATCH-2] Re: testing $/ with in memory files
2008/5/26 Bram <p5p@perl.wizbit.be>:
> Quoting Ben Morrow <ben@morrow.me.uk>:
>
>> Is $ENV{_} portable?
>
> I suppose not.
>
>> I would have thought something like
>>
>> if (eval q/use PerlIO::scalar; 1/) {
>>
>> would be safer, especially as it includes cases like non-PerlIO perls,
>> and statically-linked perls that don't have PerlIO::scalar linked in (if
>> such beasts exist).
>
> Patch attached.
Thanks, applied.
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]