Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Question about Perl refs and basic types

by Anonymous Monk
on Jul 19, 2012 at 00:35 UTC ( [id://982565]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://982565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-25 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found