I have read in a yaml file where we specified a perl range like my_range: !perl/range 0..4
We use Yaml::XS to read in the yaml. and we get $my_range which is a reference to a perl/range which is a reference to a scalar with a value '0..4'.
I have de-referenced this and tried to use this to setup an array:
, but all I get is an array with one element of value '0..4'.
How do I setup an array with this? Thanks.