go ahead... be a heretic | |
PerlMonks |
Re: Re: Regular Expression Assistanceby janx (Monk) |
on Jun 10, 2002 at 13:23 UTC ( [id://173112]=note: print w/replies, xml ) | Need Help?? |
If you know the absolute filename and want to open that file,
what prevents you from doing just that?
_Ass_uming safe input data here:
Anyway: If the complete filename is in $filename you can do:
and end up with something like: "file23432545335.ext"
Still, I don't see the point if you trust the filename as being safe,
and just want to open it. (Since you will need the path anyway).
In Section
Seekers of Perl Wisdom
|
|