On Sat, 27 Sep 2003, Tim Bunce wrote:

> I think this would be okay:
> 
>     if (SvROK(sv) && !SvAMAGIC(sv) {
>       ...error...
>     }
>     string = SvPV(sv, len);
> 

Adding the !SvMAGIC(sv) worked nicely, thank you.

One question: What is the difference between SvMAGIC and SvMAGICAL?  And 
do you know of a good online refrence on Magic?

Rudy

Reply via email to