2,452 Topics

Member Avatar for
Member Avatar for hack_tom

Hi have a file which consist of following thing begining of file ---------------------- my name some dfgfgfk jdksjdkls laladsl sdlsdls . . . kfdjkfdk some drt pro vhdl sdjls. ---------------------------------------------------------------- ddr.spw.df.df 0 0 0 0 0 ddr.ser.ddf.tp 1 2 3 4 1 ddr.pwq.pro.fgt.tp 1 3 4 5 7 eth.pro.iw 1 …

Member Avatar for KevinADC
0
78
Member Avatar for crprajan

[COLOR=darkblue]I have a datagrid in my webform with two columns namely empno and empname. The column empname is a hyperlink column. When the page loads both the columns are displaying data from the emp table. There are totally 5 records in the emptable. So five rows are getting displayed in …

Member Avatar for jamello
0
123
Member Avatar for anil_otrs

I want to install OTRS on RedHat LINUX and facing some problems. I just follow all the steps of of installation manual and after installation when i want to login as root@localhost i received an error "[COLOR=DarkRed]Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied![/COLOR]". How can i solve this problem.

0
66
Member Avatar for MojoS

Hi, I am working on a perl script, were a program is given a file, another file and a deviation (a number) as input on the command line. I also wants the program to complain when its too many arguments , it should just be to filenames followed by a …

Member Avatar for MojoS
0
91
Member Avatar for pnsreee

Hi All, Please help me to convert csv file to a hash table with out using Text::CSV_XS , Text::CSV. The CSV file is a dynamic file. the fields are like this Numb,Name,Class,Type,...... 201,Bazaar,b2,53,.......... 121,Raymond,y1,02,... 232,Robert,p1,04,............... Here first line is name of fields and remaing are values to corresponding fields

0
62
Member Avatar for sri2244

Hi, I created a script for sending mails, but I am not able to send attachments, can any one help me on that, I am posting that created script, print "content-type: text/html \n\n"; #The header print "Enter full path of the file to Send :"; $filename=<STDIN>; $myarl="$filename"; open(myarl) or die …

Member Avatar for KevinADC
0
106
Member Avatar for bhavna_816

I have installed Bugzilla 3.0 on Windows Server 2003 Service pack 1. It was working fine in terms of functionality, but getting the message like "Use of uninitialized value in substitution (s///) at (eval 44) line 44. [Thu Apr 19 11:31:55 2007] index.cgi: Use of uninitialized value in substitution (s///) …

Member Avatar for KevinADC
0
260
Member Avatar for jdrenam

Hi, every so often for the past few weeks my machine (Mesh Matrix 1800) has been acting wierd. I've had this for around 5 years and it's worked without problem. Now, when I try to shut down, it takes anything from 15 mins to never shutting down and I just …

Member Avatar for kleinbaas
0
235
Member Avatar for devesh9392

Hi i'm lil new to perl wat i want to do is to login to my gmail account and click on the "Search mail" button using the perl script. this is my script, but thr is a problem tht when i click on the "Search mail " button (second last …

Member Avatar for KevinADC
0
104
Member Avatar for kxh29

[B]Team:[/B] [B]I have a date which comes in the format of mm/dd/yy.[/B] [B]Example: 08/01/00[/B] [B]Now, I have my regular expression to check for this in this[/B] [B]format.[/B] Example: $result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/; So, when I enter a date in the format of 08/01/00, the result is success, or a …

Member Avatar for KevinADC
0
126
Member Avatar for rice_project

ok, ill start from the top. i have a windows xp home edition compaq, got it around 2003. im assuming when u use the System Recovery Console thats built inside the computer, u need atleast 15 open gigs in your memory for it to properly recover my computer. i used …

Member Avatar for mechbas
0
118
Member Avatar for StandardsDT

Hello just recently I decided to dual boot Windows and Ubuntu. After I got both up and running I went to start configuring everything in Windows. Everything is working fine in the Windows world except for one thing. Sound. I've uninstalled and reinstalled the driver but still no luck. I …

Member Avatar for MidiMagic
0
107
Member Avatar for kxh29

[B]Good Day to All:[/B] [B]I need to know if there is a code snippet somewher that will allow me to take a users START DATE and give them a maximum of seven(7) for a END DATE.[/B] [B]Problem is, on my AIX box, we DO NOT HAVE THE Date::Calc Perl Module.[/B] …

Member Avatar for kxh29
0
139
Member Avatar for MDGM

hi all, I have a special type of gallery on my website ([URL]http://www.grafax.co.uk/newtest/gallery[/URL]) which uses a javascript file to make a div tag hover over the gallery with the image inside of it. however, the page shows before the javascript file is loaded, and so displays the image in the …

Member Avatar for MattEvans
0
143
Member Avatar for Navrex

Hey .........Would any 1 like to tel me that if the mege sort works at runtime or not.? im giving my code below....Tell me y it is not running in VC++ correctly.....the code given below doesnt have any error in code but when any1 runs it it gives error.....CHECK IT …

Member Avatar for jwenting
0
111
Member Avatar for parani

Hi, I am having two scripts [Hello.pl and Hi.pl] [I][B][U]Hello.pl[/U][/B][/I] [inlinecode] #!/usr/bin/perl printf "Hello world"; system("perl Hi.pl") [/inlinecode] [B][U][I]Hi.pl[/I][/U][/B] [inlinecode] #!/usr/bin/perl printf "Hi"; [/inlinecode] When I tried to execute the script "Hello.pl" in command prompt,the output is as below [inlinecode] D:\Perl\bin>perl hello.pl Hello world Hi [/inlinecode] I kept this two …

0
74
Member Avatar for nanodano

Is it possible to have a perl script and a bash script in one file? Like: [code] #!/bin/perl print "This is perl"; #exit perl #!/bin/bash echo "This is bash" exit 0 [/code] This is probably just a complicated solution to a simple problem. I have a perl script, and at …

Member Avatar for KevinADC
0
151
Member Avatar for nanodano

I have a very specific problem. Does s/// work with strings that are contained in single quotes? I've been debugging and I'm trying to replace a string that contains a $ in it. If I use double quotes, it works for the string up until the $. If I use …

Member Avatar for KevinADC
0
142
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
112
Member Avatar for assad77

i want to draw all ascii chars and their corresponding values in dec and hex using a three colomned table, each colomn for one type of chars. if possible i would love to display each colomn in a different color. this is my code so far. .MODEL SMALL .STACK 100h …

0
71
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
81
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
112
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
87
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
220
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
52
Member Avatar for jamello

Hi there folks! Please could anyone tell me how I can display a hyperlink without its customary underline? It must be pretty simple but I could not get a hang of it. Thanks for the help!:cheesy:

Member Avatar for rsatyajit77
0
111
Member Avatar for Mushy-pea

Hello everyone. I will soon be releasing an early version of my open source bulletin board system, PerlBB. Can you guess how I thought the name up :p ? I'm not going to say whats special about it here, but there will be plenty of promotion on my homepage when …

Member Avatar for Mushy-pea
0
176
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
117
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
100
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
172
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
148
Member Avatar for gmunky

I'm working on a program that opens an html text file using a JEditorPane. I can read in the html file but i can't get the hyperlinks to work. I want it so that when the user clicks on a hyperlink word, it will open a different html file in …

Member Avatar for Phaelax
0
150
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
87
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
228
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
49
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
40
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
101
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
129
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
53
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
271
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
124
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
225
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
51
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
113
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
105
Member Avatar for nathanpacker

Hey everyone, I'm using the php function [URL="http://us2.php.net/nl2br"][COLOR="Blue"]nl2br[/COLOR][COLOR="SeaGreen"]()[/COLOR][/URL] to display some characters on a page from a textarea. I'm storing the text into the database exactly as it is entered, and then only using the [URL="http://us2.php.net/nl2br"][COLOR="blue"]nl2br[/COLOR][COLOR="seagreen"]()[/COLOR][/URL] when displaying it on a page. Should I do it the other way around? …

Member Avatar for nathanpacker
0
86
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
174
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
185
Member Avatar for jeffry

hi, Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1? Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes. …

Member Avatar for Dani
0
70
Member Avatar for annatalierry

Hello. Random hyperlinks have been appearing in some of my Excel spreadsheets. I've run virus scans, spyware scans (including AVG AntiSpyware) and they've come out clean. I've also cleaned my registry with Eusing Free Registry Cleaner. Here is my Hijack this log. Please let me know if you see any …

Member Avatar for gerbil
0
342

The End.