[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FNG



Ronald J. Kimball wrote:
> 
> 
> As you can see, the failed match puts the special scalar SV_NO on the
> stack.  Presumably, SV_NO comprises an integer value of 0 and a string
> value of ''.  This explains the output of Chris's program with regards to
> $w.
> 
> There is also an SV_YES, which is returned by print.
> 
> Ronald

Would SV_NO be the same as \000, the ASCII null? I was poking around
last night and found that "\000" exhibits properties similar to the
return value from a failed s/// operation with regard to bitwise
operators and the printf facility.

On a side note, I wonder if poor Kevin Dowd is still following this
discussion, or has run in horror after asking a simple newbie question.
The typo that roared.

Geoff

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch