$base = (split(/\./,$fname))[0];
In reply to Re: Getting a base name by Iron in thread Getting a base name by Anonymous Monk