dan said: > well i could spend ample amount of time testing code for someone else. > like everyone else here, i'm only offering suggestions on how a problem > can be overcome. seriously, if someone is trying to create a perl > script, they'll have at least some knowledge in perl on how to fix > errors if something isn't right. if the code i submitted doesn't work, > then my bad. but the recipient of the code can insert it into their > code, and if it doesn't work, perl will spew errors on what's wrong, and > where, so they can fix it.
Email can be such a difficult medium through which to communicate effectively at times. I don't like using smileys, but I found that too many people were getting the wrong end of the stick on reading some of my messages. I used one here, but it may not have had the intended effect. Or maybe it is just me who has misunderstood. Please sprinkle smileys liberally over this message, and all my messages if you will, or do whatever else is necessary that no offence is taken. I have children, and I have found that when talking to them or correcting them it is generally better all round if they do not take undue offence. I think the same is true of most of us. Dan, thanks for your reply which did show a useful technique and would, no doubt, have been of help. I don't think there were any syntactical errors in your code, although I do think qq~~ is _ugly_. But ... > "Paul Johnson" <[EMAIL PROTECTED]> wrote in message > news:60995.193.134.254.145.1036512487.squirrel@;wesley.pjcj.net... >> dan said: >> > __ START __ >> > my $path = qq~C:\path\where\to\put\stuff~; >> > open (WHATEVER,qq~>$path\filename.ext~) or die (qq~Can't open >> > $path\filename.ext for writing : $!~); >> > etc.. >> > close(WHATEVER); >> > __ END __ >> > Note: untested, but i doubt anything can go wrong. .... you're really leaving yourself wide open here. A comment like that is just asking for trouble ;-) >> Might I suggest testing next time ;-) Just because I think you fell into exactly the same trap as Ankit. >> > "Ankit Gupta" <[EMAIL PROTECTED]> wrote in message >> >> have tried usingt chdir("c:\abc") in order to store all the files >> Did you check whether the chdir succeeded? >> >> Hint: \a rings the bell. The first part of this message wasn't really aimed at Dan. When Casey first proposed this mailing list a number of voices predicted that it would go the way of similar fora, descending into anarchy and becoming useless. Thankfully that hasn't happened. Larry said, "Perl 5 was my rewrite of Perl. I want Perl 6 to be the community's rewrite of Perl and of the community." I think this section of the community is thriving. Long may it continue. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]