in reply to Re: Data::Dumper scalar refs undef
in thread Data::Dumper scalar refs undef
YAML seems ok in this case:
Update: I'm not so sure. That !perl/ref: disappearsysh -r Welcome to the YAML Test Shell. Type ':help' for more information. ysh > $a = { type => 'int' }; --- #YAML:1.0 type: int ysh > $b = \$a->{type}; --- #YAML:1.0 !perl/ref: =: int ysh > [$b,$a] --- #YAML:1.0 - !perl/ref: =: int - type: !perl/ref: =: int ysh > $$b={hi=>'there'} --- #YAML:1.0 hi: there ysh > [$b,$a] --- #YAML:1.0 - !perl/ref: =: &1 hi: there - type: *1
|
|---|