Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

delete files via perl

how do i remove (delete) files from perl script?

rm ("myfilename");     ??doesnt work??

any ideas?
0
blacksheep
Asked:
blacksheep
1 Solution
 
b2piCommented:
unlink("file name");
0
 
blacksheepAuthor Commented:
Superb!

thanks!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now