Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: De referencing

by davido (Archbishop)
on Jun 22, 2013 at 06:00 UTC ( #1040248=note: print w/ replies, xml ) Need Help??

in reply to De referencing

Assuming the scalar ref held in $align is simple, and not just the head of some more complex structure (or object)...

print OUTPUT1 "$$align\n";

If it's the head of something more complex, use Data::Dumper to get a look at the structure, or read the module POD so you can plan how to dereference it effectively.

A nice introduction to references is found in perlreftut.


Comment on Re: De referencing
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-11-29 06:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (747 votes), past polls