Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Dealing with blessed scalars when using YAML::XS::Load (alias)

by tye (Sage)
on May 02, 2012 at 16:07 UTC ( #968474=note: print w/replies, xml ) Need Help??


in reply to Re^2: Dealing with blessed scalars when using YAML::XS::Load
in thread Dealing with blessed scalars when using YAML::XS::Load

Aliasing a package like that is not expected. There may be things that break in the face of it. So I reduced the number of things that have to deal with that aliased package to a single thing, @ISA. Then one doesn't have to worry about ambiguity in the code context or name of a method or ref-counting issues or some other problem that might result from the hackish aliasing.

- tye        

  • Comment on Re^3: Dealing with blessed scalars when using YAML::XS::Load (alias)