1,633 Topics

Member Avatar for
Member Avatar for mahajanrahuld

[B]i want to disply the database content on webbrowser . The program writeen syntax free but it can not display anything on web browser [/B] [B]why ? [/B] [B]i can use the MS Access 2000 database[/B] [B]plz help me [/B] [B]code is ..[/B] [B]#!usr/bin/perl[/B] [B]use Win32::OLE; use Win32::OLE::Const 'Microsoft ActiveX …

Member Avatar for katharnakh
0
109
Member Avatar for RAGHAVENDRAS

Hi Friends, I am writing a script to compare two files put in two arrays and I expect the those elements which are found in array2 that are not in array1. here there are 2 files Perf.txt which contains some names, and Neu.txt contains some names which are common as …

Member Avatar for Sandi
0
79
Member Avatar for JeganathanK

Hi, I'm having a Perl Code and i want to convert it into a C Code. I want to know is there any tool is available to do so? If not available anybony can help me to convert??:?: plz mail me at [email]nrk_jegan@yahoo.com[/email] Regards, Jeganathan K.

Member Avatar for JeganathanK
0
108
Member Avatar for mahajanrahuld

[B]cam u help me plz , i m the new user of PERL I have some problem, in my machine winxp , apache webserver installed , when i run the script , that time error will occured like [/B] [B] [U][COLOR=blue]500 Internal Server Error occure[/COLOR] [/U] i m trying all …

0
84
Member Avatar for laddu

Is it possible to have a hash as a data member of a perl object? If so,what is the syntax?? And also how to assign values to this hash??

Member Avatar for laddu
0
213
Member Avatar for neha1

i have to read only the first column of the text file and then to use that column as the input argument..so how to capturte that first column?and to use as a input argument

Member Avatar for katharnakh
0
49
Member Avatar for MojoS

Hi... I am trying to make a program that ask for a specific DNA number, where the program have to check if the given number is in a specific given list... here the program should tell me if they are or arent in the list..the program runs untill I write …

Member Avatar for MojoS
0
113
Member Avatar for mahajanrahuld

plz help me how run the perl script on tomact server plz tell me the step by step process its urgent

Member Avatar for katharnakh
0
94
Member Avatar for kishore5001

Hi I am new to Perl scripting I want to know , how the .pm extension files differ from the .pl files that are perl scripts . And what are the .pm files used in the perl files , are they just the subrotines that are used in the .pl …

Member Avatar for Mushy-pea
0
158
Member Avatar for winbatch

I'm new to perl (and actually not even really trying to develop this skill - I inherited some code and am trying to enhance it). Basically, I want to get the text between parts of a text string. How do I get the parsed variable to contain "WHATEVER IT IS"? …

Member Avatar for winbatch
0
143
Member Avatar for Little E

Is Perl/CGI the best language to use for sending a customer to a thank you page after they click the submit button? If they're not, then what is?

Member Avatar for Comatose
0
84
Member Avatar for mforeman

I am trying to remove entries if they contain the word "connected" in Perl. My file looks something like below. So In this example, I would like to search for "connected" and if found remove all 6 lines associated with it. If not found, then move on to the next …

Member Avatar for winelover
0
219
Member Avatar for EnderX

I have been requested to recycle an older program, written before I arrived, which is used to send information to a business client's ftp setup. As far as I can tell, the actual transaction is in a segment of code which calls and uses the LWP::UserAgent class. I do not …

0
47
Member Avatar for EnderX

I've been given a piece of buggy code to attempt reviving. At the moment, every time I run it, I'm getting this error:[CODE]Database handle destroyed without explicit disconnect.[/CODE] A quick google search reveals that this indicates I'm not closing a connection. I had trouble figuring out why I was getting …

0
38
Member Avatar for mandible

Hello I've been trying a bunch of things to try and get this to work. What I"m trying to do is take a sring like this: select * from "sch "."test" and change it to something like this select * from "hello"."test" I've tried a few things like [code] $LINE=~/["].+["]/\"hello\"; …

Member Avatar for mandible
0
95
Member Avatar for Mushy-pea

Hello everyone. Does anyone know if there is a way to start a child process from within a script, then capture the child's standard output and exit code? From looking at the docs it seems that [code=perl] $status = system("command"); [/code] lets you capture the exit code but not STDOUT. …

Member Avatar for Mushy-pea
0
112
Member Avatar for katharnakh

hi, I am having problem in updating tables in MS Access. The field which I want to update is of DATE type. here is the code.. #! C:\Perl\bin\perl.exe [code] use Win32::ODBC; my $db = new Win32::ODBC('ServerStatistics'); $q="select distinct(build_date) from wdf_history"; $db->Sql($q); while($db->FetchRow) { $s = $db->Data(); print $s; } $q …

0
50
Member Avatar for MojoS

Hi :-| I am workning on a projekt based on DNA sequences in Perl. I wanna make a program that reverse complements the DNA sequence and writes it into a file [I]fx. revdna.fsa (Which I have done )[/I] but the problem is that I want to keep the first unaltered …

Member Avatar for KevinADC
0
263
Member Avatar for nanodano

I am working with form processing and text manipulation, and I found two useful functions; tr/// and s/// They do pretty much the same thing, but I was wondering if anyone could explain to me what the difference is and if one would ever be more useful than the other …

Member Avatar for KevinADC
0
122
Member Avatar for avik1983

i have a simple text file as input.i have to print that file in paragraph format.whenevr it finds "\n" in the input text it should start printing in next paragraph in output file.also a fixed amount of space should be given before start writing in every paragraph. the input and …

Member Avatar for avik1983
0
214
Member Avatar for avik1983

i have a HTML report file..its in attachment(a part of the whole report is attached..name "input html.doc").also its source is attached in "report source code.txt" i just want to seperate the datas like in first line it should be.. NHTEST-3848498958-NHTEST-10.2-no-baloo a and so on for whole report i have done …

0
47
Member Avatar for katharnakh

Hello, I have a script to read remote file. The script goes as follows, [code=Perl] #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp);[/code] This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the …

Member Avatar for masijade
0
110
Member Avatar for MojoS

;) Hi guys.... I am a beginner at Perl, and i have some problemes I wanna solve!! I hope u can help me. the exercise is: Make a program that counts the number of positive and negative numbers in a column. Also count the zeroes in the column, if there …

Member Avatar for MojoS
0
103
Member Avatar for WolfPack

Does any of you know how to get the pathname of the perl script that is being executed? Say it is located in [inlinecode]/home/wolfpack/perl/[/inlinecode] I run it from [inlinecode]/home/wolfpack[/inlinecode] by giving the absolute path name like, [inlinecode]/home/wolfpack/perl/scriptname [arguments][/inlinecode] I want to get the path [inlinecode]/home/wolfpack/perl[/inlinecode] so that I can use …

Member Avatar for WolfPack
0
169
Member Avatar for qualtran

When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) …

Member Avatar for Mushy-pea
0
177
Member Avatar for MattEvans

Is there a standard way to make constants defined using the [inlinecode]use constant[/inlinecode] pragma available to all of the packages that are use'd from an executed file? Or even better, to make the constants defined in a package available to other packages that use that package? It seems like anything …

Member Avatar for lordspace
0
130
Member Avatar for iubike

I just don't know what to do to end the damn loops!?! [code] #!/usr/bin/perl -w use strict; print "Welcome to Techno-Bank 3000.\n"; print "Enter command => "; my $input = <STDIN>; chomp $input; my ($command, $user, $amount) = split / /, $input; my %accounts = ( $user => $amount ); …

Member Avatar for masijade
0
98
Member Avatar for laddu

I have executed a unix command whose output has a number of columns separated by whitespaces.How to extract a column from it and put it into an array using Perl.

Member Avatar for kuom
0
146
Member Avatar for Mushy-pea

Hello everyone. I'm still working on that forum system I mentioned a bit ago (perlBB). Hopefully it'll be ready for Christmas :p . However, I ran into a strange problem while I was re-writing parts the two functions below. [code=perl]sub enter_post { my(@field, $input, $offset1, $offset2, $n, $name, $field_length, $flag_guest, …

Member Avatar for swampyankee
0
80
Member Avatar for jovimarko

[COLOR=black]I am total novice, but I must solve this problem very quick and need help. Problem:I’ve been given a file 1 2 15 1 3 16 2 3 20 and so on…First two values of the input file represents graph nodes and the third one is distance between them. I …

Member Avatar for Puckdropper
0
81

The End.