Erik Steven Harrison wrote: > But still, what counts as a runtime property, other than true or > false, as in the delightful '0 but true'? What other kind of runtime > labels can I slap on a value?
Here's ten to start with... for <> but tainted(0) {...} # note that external data is # from a trusted source return 255 but undef; # i.e. system() returns # "undefined 255" on failure return $cached_for{$arg} but Cached //= compute_for($arg); # memoize return value # but mark when from cache $result = heuristic($data) but Estimated unless %known{$data}; # indicate when value is a guess my $temp is Units('Celsius') # indicate units of variable = 273 but Units('Kelvin'); # indicate units of value # (maybe autoconverted?) return $val but Error(-1..+2); # indicate error bars $data = $text but Encrypted($public_key); # unusable without private key $days = 29 but From(My.line); # record source of # improbable value $days = 29 but Reason("Leap year"); # so-called "active comment"... # documents why improbable value # used but can also be retrieved # programmatically $name = "Damian" but We_better_call_ya("Bruce"); # indicate correct Australian # pronunciation ;-) Damian