in reply to Problem with rss feed updation
Your code starts with a shebang line, which is the first line in any script, but then you proceed to make calls to various modules that I don't see being loaded via use or require anywhere. So apparently you've trimmed away something between the shebang line and the definition of doExternalChannel() that we're not seeing, which is probably important.
The error message you're describing "in reading file, using......" doesn't show up as one of the messages possible within the code you've provided, perhaps this is an incomplete code fragment and you haven't shown us what could possibly generate that message? It definately doesn't compile under strictures, since $channeldir is never declared. And like I said, the modules you're using aren't loaded in the fragment you've shown.
Part of my inability to be more helpful is that your post is further made difficult to decipher by overuse of l337speek: plz, u, wt, RnD, and otherwise difficult to parse sentence fragments. From Wikipedia: "This style of speaking has now been abandoned by a number of the original users, as it is supposedly being over-used by 'n00bs' in situations where it is not needed." It's hard enough knowing what you asking about without a disregard for readability.
If Perl is an interest to you (and I hope it is) you will be greatly benefited by reading Learning Perl, published by O'Reilly & Associates. I understand that doesn't help with your immediate question. For actual help with the question at hand, I recommend following up in this thread with a little more coherent dialogue as to what you're doing, the exact problem you're seeing, and other details that may help us to get a grasp on what's going on. So far you've only provided enough for us to know you're having difficulty with a script of which you've provided a small discontiguous code fragment.
Dave
|
|---|