It's not exectly what I'v asked , I wanted a function that deletes all the files in the directory and this one deletes the directory , but I handled It myself although I'll be Glad To get The function that does what I'v Asked For .

I think the function should read the DIR and then wuth a foreach loop delete every file .

That's possibly what you wanted. Of course, what you actually needed is the loop itself and not the insides, but if you want to, you can use that in a recursive function that calls itself in case dir is found, otherwise just removes the file.

You seem to be forgetting something, yotam_k. We helped you. Do you know how much money I got for helping you?

Does Jasmine get paid to answer questions on this forum? No.

Do I get paid to do it? No.

Would you rather not have your questions answered here? Would you rather see the knowledge of the people on this forum go elsewhere?

I help out on this forum for two reasons: 1) Jasmine asked me to, and 2) there are a lot of people out there having trouble with Perl because of how they learned it. My professional goal is to be a Perl instructor; I want to reduce the number of people that write crappy Perl code, frankly. That's what I'm after.

And we said "please". "Please post in the intermediate forum." And you responded such that I had to edit your post.

Don't think just because you're you, you can make up your own rules here. "NO PARKING BETWEEN 11 PM and 6 AM" applies to you just as much as it applies to me. If we ask that certain types of questions -- or certain levels of programmers -- reside in a particular forum, there's a reason.

And I stand by this decision. Deleting files in a directory is not a mythical or difficult task. It's been done by many people before, and it's not something that requires a mastery of Perl. Using HTML::Template, or arrays of hash references, are more difficult topics, and warrant being asked about in this particular section.

And Jasmine is the authority around here. These forums are hers. Her idea. Her ambition. Her project. Have you ever said "thank you" to her?

She happens to be the admin, and the admin has asked you to post your questions in a different section.

1. You Edited My Messege And done two things to her : a. Lost The Catch b. Lost The Subject at all .

2. I haven't demanded anything , Just all what I want that people won't answer me answers like Post It in another forum . You Don't Wanna help? Ok , I won't claim anything against you , If I'll Post Here and It's not suiteable So What? Don't Answer and thats all the deal .

When It's In Intermediate You Don't Answer? You Do .

Tell Me just what will make a differnce where I Post It?

Oh and by the way , Tell Me Japhy , If It's Such A Simple Question why 5 Differn't People tryied To Help And Had no success???

And One last thing , I have NEVER , NEVER !!! Said that Jasmine Had No authority . PLEASE notice How you Edit Someone Ideas and thoughts . I think All you Should Have Done Is removing the forrbidden word I have Used and I do admit It was in purpose , It's How I speak and It was An unseperated part of my messege .

And One More Thing , parham_m_s , I Said thanks After The good answer of Japhey .

And last thing , I refuse to say Thanks To The Slapper.

There Is An Old saying "When you get one slap on your cheack , You Never , NEVER , Give the other one "

You have posted questions and received answers. You said to japhy "Has don The Job !", so you admitted that you have been helped here. Why then, choose to contradict yourself in the same post?

Perhaps the problem is not with the replies you get, but with the questions you give. Asking a question is one thing "gimme code that does this" is something else entirely.

Regardless, it seems clear that PerlGuru may not be the place for you to post your questions. Please feel free to visit the other newsgroups or forums that may be available to you. Or, learn like we did, by self-study. Learning Perl, Programming Perl, etc. are excellent places to start. The Perl Cookbook is a great place to find useful code snippets.

If you choose to continue posting here, we ask that you post to the correct forum, remember that replies are voluntary, and show consideration both for us and our other users. Posting in the incorrect forum will get your post deleted. Rudeness will do the same.

The only text I edited out of your message was the line "F-U-C-K, with you all". I promise. I have no reason to be lying to you about that. I found that line un-needed, and removed it. The rest stayed as it was.

Honestly, when I see a simple question in the Advanced forum, I often don't answer. Why? Because I realize the person is just trying to get attention and make their question seem "urgent", and doesn't care about paying attention to things. In my mind, such a person is probably not a Perl programmer, but someone who accidentally led their boss to believe they knew Perl, and now has to fix a program up.

You said the following (which I did not edit in any way, shape, or form):

"Jasmine , I think you will have alot of authority problems mybe you don't have any authority I dont know."

Unless you mis-spoke, you are saying "maybe Jasmine does not have authority." Thus my comment.

You know Japhy , I could continue argueing with you , Couse I Didn't said that jasmine has no Authority , I'd NEVER, N-E-V-E-R Said "mybe she has no authority" Becouse I am not blind you know , I can see neer here Name The Icon Admin so please . but I think this will have no use .

So I'll Say This , I learned Perl Myself , Starting from a Little Site in my language that teaches perl .

The knowledge I have Now I learned by myself , Using other programs and ETC.

I Can't complete the gaps I have Becouse All the books Are English ones And their heavy and I don't Understand anything . So I come here and trying to ask some questions and then you think that some of my questions doesn't feet here , Ok , F... It but you lousey attemptes of kicking my out won't do , I'll continue to post here , but I'll promise I Will not post here simple questions .

Jasmin , I think That If someone has such a system he should predict that you will have good visitors and bad visitors , you can't send tham away , not in a good way in Geeky sentences and not by banning .

You should deal with them , not sending them to others , I'v chosen this website , don't send my to another .

Oh , And by the way , the thing I am working on is a Forum system that reminds this one , And I am working on a hebrew version , When I'll Finish the hebrew version and I'll make an english one , I'll send you to see it so you will see for what were all the efforts .

Forget all the adavanced and begginer just help without any calculations if it's relevant or not .

Jasmine , I think you will have alot of authority problems mybe you don't have any authority I dont know .

Stop Being Such A goffy and geek

Please ???????????

Edited by japhy on 03/09/01 08:38 AM (server time).

Yes, yotam_k what you say is the true. I have been starting with perl from notting. And my script (Members Admin CGI) is my hello world. I don't now many programmers who have make that kind of scripts when they are starting writing scripts.

The first mesage i have write in this forum (Advanced) and Jasmine just moved it into the beginners forum. (I really hate that). He don't even now how to delete all files from a dir (thats advanced).

I think to he have alot of authority problems Or he is comming from the U.S.A. (then it's normal what he is doing).

To even suggest that I should listen to such a rude person reflects poorly on yourself. I wouldn't go to your home and ignorantly insult you, your comrades, and for goodness sakes, your country. That's plain childish.