--- Xah Lee <xah / xahlee.org> wrote: > Just bumped into another irresponsibility in perl. > > the crime in question this time is the module File::Basename. > > Reproduction: > > 1. create a directory containing a file of this name: "cdrom.html". > 2. "use File::Basename;", with the line: > ($name,$path,$suffix) = fileparse($File::Find::name, ('.html', > '.m')); > 3. Notice that your cdrom.html will be parsed into "cdr" with suffix > "om.html". Was there really *any* need for this e-mail....? I couldn't give a rats arse as to whether File::Basename under perl works. system(basename foo) would have done me just fine. Pointless perl bashing...grrrrr -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net "<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html