KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Perl variable I populate from the database. Its name is $path . I need to get another variable $file which has just the filename from the pathname. I tried: $file = $path =~ s/.*\///; I am very new to Perl.
Tags (comma-separated)
Save Edits
Cancel