in reply to Question about Perl refs and basic types

However, I could not get the vstringRef to print VSTRING. Any clues why #11 above shows SCALAR?

Your version of perl is too old -- reading perldocs is great, but match them to your version of perl

  • Comment on Re: Question about Perl refs and basic types

Replies are listed 'Best First'.
Re^2: Question about Perl refs and basic types
by cheekuperl (Monk) on Jul 19, 2012 at 03:04 UTC
    You are spot on!
    I did
    printf "version is v%vd\n", $^V; # Perl's version
    and got v5.8.9. Then I checked the perldoc ref for 5.8.9 and VSTRING is not present.