No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
i tried to upload some data from csv to MySql data base. but it not working someone help me on this. the below one is my code #!/usr/bin/perl -w use DBI; use strict; use TEXT::CSV; use warnings; my $driver = "mysql"; my $database = "test"; my $host = "localhost" my … |
|
Re:
Hi I want to call the xml file and I want to change the tag name. here sample coding of get txt file. my $inputtxt=$ARGV[0]; open(TXT,"$inputtxt"); my $txtstr=join("",<TXT>); close TXT; $txtstr =~ s#\n\n#\n#sgi; # print $txtstr; open (OUT,">$inputtxt\.txt"); print OUT $txtstr; close (OUT); I need how to call xml file, … |
|
Re:
Hello Everyone I am struck how to start script in my .txt file i have some of ips and i need to retive the ip and it need to convet into xml file in .txt file ips like his client1-10.1.1.1/24 clientgw1-10.1.1.2 server1-10.1.1.3/24 servergw1-10.1.1.4 client2-10.1.2.1/24 clientgw2-10.1.2.2 server2-10.1.2.3/24 servergw2-10.1.2.4 client3-10.1.3.1/24 clientg3w-10.1.3.2 server3-10.1.3.3/24 … |
|
Hi, I’m trying to use the following code in C++ on Mac OS X Snow Leopard to get the output of an external program through a pipe. [code=c++] FILE * al = popen("program program.cfg", "r"); string data; char buffer[100]; while (fgets(buffer, 100, al) != NULL) data.append(buffer); cout << "«" << … |