They indicate how the variable is being used: $ is for a scalar (reference, filehandle, string, number); @ is an array; % is a hash (an even-sized list); & is a subroutine; and * is a typeglob.
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
Tuesday, January 3, 2012
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment