in reply to UNIVERSAL::isa() vs. ref()
I'm writing to pass me stuff either as a blah or a ref to blahMy first question is: why such flexibility in the API. My comment is: I don't like the way the user has to pass a type and tell you the type. Why don't you simply require that the user pass a reference to the datatype and then your job is easier. Further, there will be no chance of a user making a typographical error such as typing ARRY when he meant ARRAY.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: UNIVERSAL::isa() vs. ref()
by dragonchild (Archbishop) on Jun 14, 2001 at 18:21 UTC |