![]() |
|
Just another Perl shrine | |
PerlMonks |
Re^2: Using filepath method to identify an .html pageby Nik (Initiate) |
on Jan 22, 2013 at 15:27 UTC ( #1014695=note: print w/replies, xml ) | Need Help?? |
The only thing i know is that: a) i only need to get a number out of string(being an absolute path) b) That number needs to be unique, because "that" number is an indicator to the actual html file. Will int function get the job done or a hashing method needs to get involved? I dont know HOW this is supposed to be written. i just know i need this: number = function_that_returns_a_number_out_of_a_string( absolute_path_of_a_html_file) This fails for me. Is it because it has slashes in it?
In Section
Seekers of Perl Wisdom
|
|