Aug 26, 2010, 9:58 PM
Post #2 of 3
Re: [padmahealthsoft] Split doctor id from file name
[In reply to]
check if particular doctor files are came and allotted that files to particular users.
I'm unable to understand what you meant here. Also I think the doctor id you provided was 2 0's short of the actual doctor id?
In regards to splitting the filename to retrieve the "doctor id", you could simply use the split function:
my $filename = 'N 0824-003 908000000 02 237144 .vox';
my ($part1, $part2, $doctorid, $part4, $part5, $extension) = split /\s+/, $filename;
(This post was edited by Zhris on Aug 26, 2010, 10:01 PM)