Perl Upload
Perl Upload
- Started
- Last post
- 1 Response
- Lnx
can any one tell me what this line of code does? im not really sure, i modifying code and its involved with uploading to a database
$file=~m/^.*(|/)(.*)/;
where $file is the location of a image ie c:picssomefile.jpg
-thanks
- vena0
it's a regular expression. it grabs the filename rather than the entire location of the file.