Why did you write this use CGI qw(:cgi-lib);??
Also why would you call decode_entities on $filename?
I can't imagine a reason you would need to use either of those things, so it kinda doesn't make sense to try to figure out why you're seeing what you're seeing
It could be as simple as depending on what version of CGI.pm, $filename could be a simple string, or an object
In reply to Re: CGI Filenames and decode_entities (why)
by Anonymous Monk
in thread CGI Filenames and decode_entities
by Marais
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |