Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- PERL 4.0 Reference Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     unlink(LIST)

     unlink LIST

             Deletes a list of  files.   Returns  the  number  of
             files  successfully  deleted.   (MS-DOS users should
             note that open files cannot be 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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson