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 can cobble scripts together and whatnot, but my knowledge of cgi/perl is very limited. i have a simple guestbook script i have been using for years, and it suites me well... i have modified it some to allow people to check a box and add themselves to my mailing … |
|
Re:
To start, it is NOT a hacking job. I want to access my USAGE report from my ISP. At the home page I have to select Account Management then login with my user name and pw from newly created prompt. One clicking login I get yet another prompt so I … |
|
Re:
I am trying to create a survey that displays only one question at a time. i have gotten it to show and store the question, but i cannot get to the next question in the survey. i know that once i get to the next question in the survey i … |
|
Re:
Hello; While this script working, in case of not to connect a node ("BADYK01","BAGRK01", "BAHLK01", "BAHLK02", "BAHLK03") , it stops. I want it to be continue even if it doesnt connect a node. I mean if it couldnt connect to BAGRK01, I want it to be continue and connect the … |
|
Re:
#!/usr/bin/perl -w use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3; # die on errors... # get already active Excel application or open new my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application', 'Quit'); # get a new workbook $book = $ex->Workbooks->Open('C:\Users\Andrew Babitt\Documents\ProductClonesTest.xls'); $Obook = $ex->Workbooks->Open('C:\Users\Andrew Babitt\Documents\NSS\extract_Products.xls'); my $billschedule = $Obook->clumn(B)->{value}; … |
|
Re:
Hi All, Can anyone answer below question. when to use use DBI; and when to use use DBD? Thanks in advance |
|
Re:
Hi All, I am trying to find matches wherever there is an ip address in the xsl and xml files under a parent directory(It contains subdirectories as well). In MS Dos below command doesnt work. Could anyone please give me the perl snippet to find the ip address matches? findstr … |
|
Re:
Hello, I have a question. I found a script on the Internet that lets people change from one language to another, in this case from English to French, but files must all reside in the same folder. The script works, however, my files are in seperate folders in the root, … |
|
Re:
Hi, If it's not too much trouble I would appreciate some help with this: How I can read one by ane all xml files in one directory and to have options to get same elemests from xml files :) For example: [CODE] chdir("/ras-events/Emanuila/edrs/") or die "Couldn't open directory"; opendir (DIR, … |
|
Re:
I have just transferred a site over to a new server. The perl scripts were working just fine on the old server and now it seems to be having issues and outputting the header content to the screen. When I fill out a login form that gets send to the … |
|
Re:
hey can any1 pls tl me hw to work on cgi pgms on windows..m new to ds language,facin a prob durin connectin perl prog throu browser...hw to do dat |
|
Re:
Hi, I wan't to add simple web form to my page. name, e-mail, comment, so I started poking around internet and found out about CGI. I put premade cgi.(pearl) script in cgi-bin folder on server and adjusted form for that script: When I tested out my form , i got … |
|
Re:
I need to read from a file and be able to split it into columns and ignore a line if it starts with ' . '. the text file is made of 3 columns but at some lines there are no words in the first column here is an example … |
|
Re:
Could you suggest how to prevent the following script from reloading when 'Submit' is pressed ? Thanks [code=perl] #!/usr/bin/perl use strict; use warnings; use CGI qw(:standard :html3); our @results; #require ("file_upload2.pl"); print header; start_html(' questions shuffle'), print h2 ("\t questions shuffle"); my @questionsets = ("dt_questions.txt", "questions2.txt", "dt_questions.txt"); foreach my $setfile … |
|
Re:
I've got a text file in this following format : Field Data 1 2 1 3 1 4 2 5 2 6 3 2 3 3 3 4 I would like to open separate windows for each of the field... meaning : window1 (for field1) will display 2,3,4 window2 (for … |
|
Re:
kindly help me to get out the error of " Use of uninitialized Value $_ in substitution. my code is..... #!/usr/bin/perl use warnings; use strict; open (TEXT_FILE1,'C:\Documents and Settings\rnjenga\Muguga.embl'); # open file for reading my ($line1, $nextline1 ,$line2,$newline ); my ($find1, $find2); #Get required line from file while ($line1 = … |
|
Re:
Hey Guys, Have u any Idea how to call a perl script within my main script in a loop. I used system and exec both, but it seems to be not working. I want the second calling of the script shouldn't depend on the first calling.... all should run independently............ |
|
Re:
Hi, I have a URL like this: [code] $url="http://www.somesite.com"; [/code] I have to connect to this URL and download the data. Sometimes there will be problem in that particular site. So I have to reconnect and then again download the data. Here is the code to connect online. [code] #!/usr/bin/perl … |
|
Re:
Hi If i add the try block it says syntex error at initlialization of for loop . Non -working code ... #!/usr/bin/perl -w use strict; try { print " 11111111111 "; } catch { print " 2222222222 "; } for (my $i = 0 ; $i < 5; $i++) { … |
|
Re:
FT CDS complement(join ( 14006...14068, 19351..20068)) FT /locus_tag= TP01_0004” FT /note=”go function: nutrient reservoir activity [goid FT 0045889] The above statement is been read as a string and I would a REGEX as follows: /^FT \s CDS \s \ / complement[0-9]/ # search line 1 /^FT \s .* \ / … |
|
Re:
I'm working with a com object that was originally designed for ASP. For this one function you specify the name of the field and the variable name that will hold the return value but this doesn't work: [ICODE]$Enable->GetField("LINE",\$Line});[/ICODE] This is how it was originally written in asp [ICODE]Enable.GetField("LINE",Line)[/ICODE] |
|
Re:
I need to access 2 variables sent to this script; fieldsearch and fieldvalue, both are sent from a php script (using passthru) but the sytax is incorrect as I get a 500 error : [Mon Jun 8 12:17:51 2009] perlSOAP.cgi: Global symbol "$fieldsearch" requires explicit package name at perlSOAP.cgi line … |
|
Re:
Hello friends , I have a problem like there is web application and i have to write a script that should login to the application and then move other parts of the application [code="perl"] use HTTP::Request::Common qw(POST); use LWP::UserAgent; use Data::Dumper; $ua = LWP::UserAgent->new(keep_alive=>1); my $req = POST "http://servername.com:5002/index.php", ['user_name' … |
|
Re:
Hi All, Can any one suggest how to connect remote more than one remote server one by one inside a loop through Net::SSH::Perl package ? , I have to connect to 9 remote server, I am able to connect the first server , execute some command there come out again … |