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
|
|---|