On Wed, Sep 10, 2008 at 3:28 AM, David Precious <[EMAIL PROTECTED]> wrote:
> The IO::Prompt::ReturnVal object should stringify to the value provided.

Yes, it does, with a "use overload" argument:

    q{""} => sub { $_[0]{handled} = 1; "$_[0]{value}"; },

However, if you create a method as_string and change this to
\&as_string, then there's an easy way to do what the OP is asking for:
is_domain($site_name->as_string)

Reply via email to