Business rules

The example is a deterministic in-memory order service. Each fixture receives a fresh store, so a page cannot depend on test execution order or data left by another page.

Customers

Pricing

Inventory and orders

The fixture exposes these rules through ordinary business inputs and outputs. The Perl application stores records as hashes and order lines as an array of hashes. It has no database, network service, clock dependency, or floating point money arithmetic.