in the man perlfunc page we see: unlink LIST unlink Deletes a list of files. Returns the number of files successfully deleted.
$cnt = unlink 'a', 'b', 'c'; unlink @goners; unlink <*.bak>; Note: "unlink" will not delete directories unless you are superuser and the -U flag is supplied to Perl. Even if these conditions are met, be warned that unlinking a directory can inflict damage on your filesystem. Use "rmdir" instead. If LIST is omitted, uses "$_". But can someone explain the <*.bak>? how does that work and what does it do? (and where is there a description of it's use)? Thanx Nik J ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]