http://www.perlmonks.org?node_id=837363


in reply to Re^2: Avoiding compound data in software and system design
in thread Avoiding compound data in software and system design

The string scalarDSN data type is usefully atomic. If you need to work with the sub-parts of the underlying representation, you get to disassemble them yourself.

Seeing as you can swap in DSN for a scalar data type, what you said of scalar data types applies to DSNs as well.

By your logic, the problem isn't the compoundness of DSNs, it's the lack or perceived lack of tools to manipulate DSNs.

  • Comment on Re^3: Avoiding compound data in software and system design