Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


Dave


Comment on Re: De referencing
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-07-28 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls