On Fri, 12 Apr 2002, Green, Chris wrote:
> use FILE::BASENAME
> 
> $record = "D:\\data\\filename.bat";
> 
>     ($name,$path,$suffix) = fileparse($record,@suffixlist);
>     $basename = basename($record,@suffixlist);
>     $dirname = dirname($record);

Chris:

1. Put a semi-colon after the use statement (after you correct the 
   capitalization).
2. I don't see where you've defined @suffixlist.

-- 
Eric P.
Los Gatos, CA


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to