On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I want that this script read from Config.ini file.
What's stopping you from writing the code to do that? > $ARGV[0]=ROUTER; Do you mean this? $ARGV[0] = 'ROUTER'; > my $fname="seed.csv"; > open(OF, $fname) or die "Can't open user database file!\n"; Is it merely that you need to change $fname to the file you want? > if($second ne $arraylength) That looks like a place that needs a numeric (not string) comparison, but it's hard to be sure. > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. Wow, you've got a bad case of the lawyers. Good luck getting over that. The information contained in this electronic message and any attachments is intended for public consumption, and any proprietary, confidential, or privileged information is out of the bag for good now. If you or your lawyers consider this kind of legalese boilerplate to be in any way binding, you are hereby required to dance around the house naked and use your squeakiest voice to sing "Hakuna Matata" from the award-winning musical "The Lion King". If you were silly enough to do that, please eat all copies of this email and notify the sender immediately. WARNING: Sarcasm may be transmitted via email. The recipient should read this message with an eye toward identifying sacrastic statements, and not under any circumstances take them literally. The company accepts no liability for any damage caused by sarcastic commentary transmitted by this email. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/