parsing directory



hi
i m newbie in perl so i was trying to figure out how to parse filename
directory in the form field when the user submit it.
thanks


.