Re: Scalar References - oxymoron?

2017-04-03 Thread Uri Guttman
On 04/03/2017 06:52 PM, SSC_perl wrote: Reading http://perldoc.perl.org/perlreftut.html I see it’s possible to create a scalar reference. What situation would require someone to create a reference to a scalar? I thought refs were only useful for passing complex data structures. Is i

Scalar References - oxymoron?

2017-04-03 Thread SSC_perl
Reading http://perldoc.perl.org/perlreftut.html I see it’s possible to create a scalar reference. What situation would require someone to create a reference to a scalar? I thought refs were only useful for passing complex data structures. Is it just because Perl lets you, or is there