what is the use of ref() in perl?
Perl provides the ref() function so that you can check the reference type before dereferencing a reference.
1.SCALAR
2.ARRAY,
3.HASH,
4.CODE,
5.REF,
6.GLOB,
7.LVALUE,
8.FORMAT,
9.IO,
9.IO,
10.VSTRING,
these are the return values of ref() reference function.
Labels: array ref in perl, hash ref in perl, how to use ref in perl, ref in perl example, ref in perl means, ref in perl script, scalar ref in perl, strict ref
0 Comments:
Post a Comment
Note: only a member of this blog may post a comment.
<< Home