hi, I tried as you Said like this
my $xml= <$file>;
it given two errors like $xml and $file requires explicit package and I cleared those errors like this
but it doesn't produce any output its just blank pdf with author name. I tried using data dumper to print $xml_hash. but it doesn't contain any student word it number and regarding information in hash.then I think how it will recognize student.
and also I tried to print address elements as you said
its also not working. its also printing as before I posted.