raghuprasad241 has asked for the wisdom of the Perl Monks concerning the following question:
Thanks in advance!Indirect object: print { $rec–>{HANDLE} } "a string\n"; Regular object: use IO::Handle; $rec–>{HANDLE}–>print("a string\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Indirect object vs regular object
by Anonymous Monk on Mar 03, 2016 at 15:59 UTC | |
|
Re: Indirect object vs regular object
by perlfan (Parson) on Mar 03, 2016 at 20:54 UTC |