Uri Guttman wrote:
>>>>>> "SB" == Steve Bertrand <st...@ibctech.ca> writes:

>   >> again, what is unlike? i now guess it is from a test module. does it
>   >> take a regex as an arg?
> 
>   SB> unlike is from Test::More. Both unlike and like take a regex as it's
>   SB> second parameter. I took a quick look at the docs, and the regex is
>   SB> forced into qr//, which would explain why my '$_' from the previous post
>   SB> was interpolated properly.
> 
>   SB> '/not a defined datatype/',
>   >> 
>   >> that isn't a regex, just a plain string with / chars on the ends. maybe
>   >> the unlike call will convert that but the / will be literal / chars. use
>   >> qr// or maybe the string without /.
> 
>   SB> Yep, see above.
> 
> sounds like a poor design if it interpolates $_ to its value. that
> implies string eval. and your using // there seems to be wrong
> anyhow. but i don't know the unlike call so i can't say for sure. i
> would pass a qr// anyway to be sure.

I've got to run, so I can't review everything you've fed back right now
(but I will).

However, I needed to take two seconds to at least state that my claim,
that the second param into Test::More "is forced into qr//" was
unfounded and unjustified.

I don't know if that is what happens (I was assuming based on what it's
documentation said), nor am I qualified to claim that. I'm sorry to the
authors if this is not the case.

I don't normally make claims that I'm not certain about, so I recant
that statement with apologies, with a promise and desire to find out how
it works, and why it does what it does.

Steve

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to