in reply to question about star character in Perl
The '*' character in this context is a sigil for typeglobs. It is to typeglobs approximately as '$' is to scalars, '%' is to hashes, '@' is to arrays, and '&' is to subroutines.
See perldoc perldata | Typeglobs and Filehandles.
In this case 'XML' is a bareword filehandle. It is being passed as a typeglob to the get_data() function, which presumably is populating %hash with a dump of the XML file.
Dave
|
---|
In Section
Seekers of Perl Wisdom