Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

delete files via perl

Posted on 1998-11-02
2
Medium Priority
?
135 Views
Last Modified: 2010-03-04
how do i remove (delete) files from perl script?

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

any ideas?
0
Comment
Question by:blacksheep
2 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 120 total points
ID: 1205876
unlink("file name");
0
 

Author Comment

by:blacksheep
ID: 1205877
Superb!

thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question