2,452 Topics

Member Avatar for
Member Avatar for evermore2000

Hi guys, I have a big problem and am in need of some help. Basically, for an unknown reason, when I click on a link on a webpage that will open in a new window the page that the link is on freezes for around 30 secs and then blinks …

Member Avatar for evermore2000
0
152
Member Avatar for MattEvans

My custom error pages (via.htaccess) work for browser requests, but when I print out an error status code from a cgi script, it bypasses .htaccess. I can't see any problem with just reading in an "error page" and printing it to STDOUT... But, I have to use a Content-Type:text/html header …

Member Avatar for KevinADC
0
123
Member Avatar for cms271828

Hi, I'm studying for my CIW perl exam, I've come across this question in my exam software, but it doesn't make sense, and my solution is different to the solution given. Here is the question: The following RE matches what patterns? /[[^TMC]ow/ Not Mow Mow at the beginning of a …

Member Avatar for KevinADC
0
127
Member Avatar for iblair

Hi All, I am currently writing a perl program for linux which needs to run another perl script with a commandline option half way through, 'myscript.pl -h'. If it didn't have the '-h' I would use require. I could use backticks to shell out, but this is slow. Is there …

Member Avatar for KevinADC
0
571
Member Avatar for 001

Hello, I am new to perl, and am using perl on windows 98, i have tried writting a program, but the problem i experiencing is how to run the program. 1 i am using active perl 5 which came with an installer 2.i use note pad for the program and …

Member Avatar for MattEvans
0
682
Member Avatar for kararu

How do I stop a thread immediately, in perl? Should I use the SIG interrupt or someone show me hints. thanks.

Member Avatar for kararu
0
455
Member Avatar for Puckdropper

I'm working on learning how to use regular expressions, and have found a conversion that has me stuck. Given the statements: [quote] 1. pi=3.14 and pie 2. pie and pi=3.14 [/quote] How do I match pi and turn it in to 3.14 without also catching pie? This is user input, …

Member Avatar for Puckdropper
0
108
Member Avatar for Bucchi

Hi All, This is my first posting :) I urgently need some help!! I am trying to call a perl script from another and capture the exit status (whether successful or not). How should I go about it? Please help.... Thanks in advance, Bucchi

Member Avatar for roswell1329
0
74
Member Avatar for wdean

Got a quick question. I have created a simple automated FTP script that goes out and snags my file, then reads it and drops it into an array. Following that, I want for the script to send a mail out with the contents of array (the recipient and subject are …

Member Avatar for wdean
0
118
Member Avatar for Mushy-pea

Hello again. I am writing a bulletin board script at the moment (Perl BB sound good :p )? While writing some code to update a text file I encountered this situation. I need to open the file, append data to the end, then set the write offset to a particular …

Member Avatar for MattEvans
0
342
Member Avatar for kararu

when a process is running,I need to stop it by generating a signal immdly.I tried using kill pid to generate.But what happens is signal is generated only after the current process is over. when some signal, say sigint comes,i need to stop a process immdly..I hav to generate this signal …

0
60
Member Avatar for whatsup

Hello. I would like to run more than one Perl program I have written from within a sed script . Thanks in advance. whatsup.

0
62
Member Avatar for MattEvans

When I was learning the basics of Perl CGI (well, any CGI) I vaugely remember something regarding a header or command that would invoke CGI script (using a standard GET request) WITHOUT changing the page that a user was on. Googling hasn't been fruitful, I only remember a brief mention, …

Member Avatar for MattEvans
0
228
Member Avatar for kararu

I am getting segmentation fault in my perl code. I am not able to find out,from where this arises.Can anyone suggest em a good debugger to find it out.thanks a lot.

Member Avatar for KevinADC
0
99
Member Avatar for MattEvans

I've just registered a MIME handler for a custom filetype; I've got the basic redirection sorted, all files of type XRM get sent to a 'dumb' perl script that echos predefined values. But, how do I read in the contents of the XRM file that invoked the perl script? Does …

Member Avatar for KevinADC
0
101
Member Avatar for rharsha83

hi, i have been asked to get the information of the systems in the network by executing ping in perl programming. use Net::Ping; $p = Net::Ping->new(); print "$host is alive.\n" if $p->ping($host); $p->close(); sample of my code is shown above where $host--> is the ip of the destination machine. if …

Member Avatar for Jayaprabhu
0
246
Member Avatar for EnderX

Earlier in the day, I was forced to generate a new public key/private key pair for one of the systems I work with, as it appeared to have been hacked into at some point during the night. The system in question was running a process called 'Slony', which is used …

Member Avatar for masijade
0
138
Member Avatar for MattEvans

I'm not going to go into much detail here; I've knocked up a lil example application to show where I'm having trouble; I'd like to know why $REF_DREF_A != $REF_DREF_B (and equally why there isn't a "hippo" qualifier to the "hello" in @DREF_B)... But more importantly, can I easily make …

Member Avatar for KevinADC
0
136
Member Avatar for seluru

Hi all, My code is as follows [code] <a href="/web/contacts/contactSearch.jsp">Search</a> [/code] when i click this link, it will go to contactSearch.jsp. I want to send an action to the servlet when clicking this link, and display the data from the servlet on the contactSearch.jsp. The data I mentioned is a …

Member Avatar for seluru
0
279
Member Avatar for crestaldin

[COLOR="Navy"]Hi everyone, Ps I'm new to Perl (but have been working on Unix for a while) and I'm trying to develop my skills by taking on a project . I am trying to create a perl script that when executed behaves like a Unix Shell, but I need help on …

Member Avatar for Comatose
0
221
Member Avatar for Mushy-pea

Hello everyone. I've been working hard recently to improve my website, which I'm using to promote a music event (hence the user title). I've decided to add a music themed forum in order to broaden the audience of the site. I'm determined to use a Perl based solution because: 1. …

Member Avatar for cyfm
0
69
Member Avatar for vann

Hi I have a problem at writing multiple files. I have this code where I write several XML files (the number of files it's dynamic). I use a loop and in Linux works fine but the problem is Windows. For example let's say that I want to write a long …

0
92
Member Avatar for RAGHAVENDRAS

Hi, I am learning perl. Here is the script from which I can get the ASCII values from the keyboard entry made by the user. #!c:\perl\bin -w # sascii - Show ASCII values for keypresses use Term::ReadKey; ReadMode('cbreak'); print "Press keys to see their ASCII values. Use Ctrl-C to quit.\n"; …

Member Avatar for KevinADC
0
124
Member Avatar for Mushy-pea

Hello everyone. I am writing a Perl script that will be installed on a Linux host. I need the script to be able to access the current time / date environment variable somtimes. I've looked through a list of the standard CGI variables that can be accessed through $ENV but …

Member Avatar for lordspace
0
96
Member Avatar for manish Kishore

Hi All, I want to pass the value of java script variable in perl? how can I do that. Please help me. Thanks

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

Hello everyone. I'm writing a perl script to implement some active content on my website. Does anyone know if there is a source code library to convert an integer variable to an equivalent character string? I've managed to do the reverse, i.e. [code]sub char_2_int{ for ($c = 0; $c < …

Member Avatar for Mushy-pea
0
117
Member Avatar for andrew23chan

Hi Im so nood in perl and i have a problem need. When i ever i run this dts_add.pl the run date is not backward compatible. I ran this program every month and and reference the date from which it was previously ran. I wanted to run a file dated …

Member Avatar for vonfeldt
0
233
Member Avatar for LindaF

I don't know how I can execute an event of Javascript into a link in a program in Perl. This event of JavaScript have executed a function that return a HTML page. Anybody know how I can it? Is it possible do it this?: $datos=$datos."<a href='" . $me . "?C=OFERTAS2&EMPRESA=".$empresa_param."&NREF=".$nref."' …

Member Avatar for vonfeldt
0
102
Member Avatar for FireSBurnsmuP

Actually, i was thinking of starting up my PERL training. So I'd like to know this: what are it's most common uses? How efficient is it compared to C++? What are the strengths and weaknesses? (This is kind of a repeat of what I said in the Python forum)

Member Avatar for vonfeldt
0
110
Member Avatar for aG-gal

Hi, I'm running a web server , and the web server will call the perl script to call a exe when a button is click on a web page. eg. Click a button on web page, and the notepad will appear. I use the system('notepad.exe') in my scripts, but it …

Member Avatar for masijade
0
92
Member Avatar for gilroda

I have an Access DB with 2 tables: tbldirectory and tblPracticeAreas. I have a search page (practice-search.html) where the user can pick an attorney practice area from a drop down list. Upon choosing the practice area the user is taken to an ASP page (practice-search-results.asp)that displays a list of attorney …

Member Avatar for madmital
0
107
Member Avatar for EnderX

I'm trying to run a perl script designed to update the database on a remote server from the copy on our main server. Both dbs are in postgresql and running the slony replication setup. Semi-recently, the server went down on the remote unit and had to be replaced; I was …

Member Avatar for masijade
0
135
Member Avatar for kararu

Hi all, Is there anything in perl to declare a variable volatile...I need the value of a variable to change immeadiately when I change.help out pls.

Member Avatar for masijade
0
133
Member Avatar for hbmarar

Hi , Good Morning! Doubt : How to add a hyperlink in xml file. System: Need to plot points on a map.This points x,y coridinates a link is the information contained in the <node> tag.I use php to write this xml file by taking information from the database at each …

Member Avatar for hbmarar
0
147
Member Avatar for kararu

Hi gurus In PERL TK , I am displaying some labels when i click a button.When I click teh button again I want some other labels in that place.How do i destroy the old labels each time I click the button. Is it possible to use 'destroy' on widgets or …

Member Avatar for kararu
0
79
Member Avatar for vamsikirans

One of our clients,a Hyderabad (India)-based Company, with presence in US & Europe, has the following opening: [B]Position: "Senior PERL Programmer”[/B][B][/B] [B]Skill-set: (Mandatory) Perl, C++, Shell scripting, Java, JXB , PHP Scripting[/B] [B]Experience: 3+ Yrs (incl. 2+ yrs relevant exp)[/B] [B]Education: Graduates/Btech /BE /Mtech /ME /MCA /BSc. CS /MSc[/B] [B]Location: …

Member Avatar for dwks
0
81
Member Avatar for ATS

For some reason when I insert a hyperlink in Dreamweaver MX and upload the page it does not work. The link should take me to my friends site, but when you click the link it tries to find my friends site inside of my site as if it were a …

Member Avatar for DavidRyan
0
77
Member Avatar for sut

I want to script the use of passwd. Since it accesses the controlling tty directly, I cannot do this with standard IO redirection. I may not install additional perl modules nor the expect utility. I have written a perl script to do this but there is something missing. I think …

Member Avatar for sut
0
92
Member Avatar for kararu

Hi all, I have attched a code (inline c++) which is working fine if its alone run.But when I make it a package, giving package name; and putting 1; at the end ,,the calling script is not able to recognise new and says "cant locate object method new via name.perhaps …

Member Avatar for sut
0
97
Member Avatar for msvinaykumar

Hi, How to convert excel to html in shell prompt Is there any unix command to do this ? so that I can use that in excel Vinay

Member Avatar for KevinADC
0
228
Member Avatar for msvinaykumar

Hi, Please help me in finding out any good and quick ebook on Regular Expression on PERL . Vinay

Member Avatar for sut
0
80
Member Avatar for kararu

Hi , Anyone help me out with a clarification. Can a 'C++ multithreaded program' be used with inline::c++ module in perl? Want to be sure whether multithreading can be done when using inline. thanks in advance karthika.

Member Avatar for MattEvans
0
119
Member Avatar for eishbut

I been reading through Perl Objects, References & Modules, one of the exercises asks for the creation of a library with two simple subs. The 2nd exercise then wants to use the library that was just created to print out the date. The model answer is as follows: [inlinecode]#!/usr/bin/perl -w …

Member Avatar for KevinADC
0
110
Member Avatar for magic_gazz

Hi guys, im pretty new to all this i may not get it straight away. My grilfriends comp wasnt working so we had to re install win 98, now we have we only have 16 colours available and I know everything was fine before re installing. I have tried deleting …

0
25
Member Avatar for Covinus

what are the best gui module of perl? i know tk. anyone here have any more suggestion?? im a total noob in perl... pls help me.. thanks

Member Avatar for Covinus
0
162
Member Avatar for kararu

I am in need to do a c++ program which will take in argument from command line and return output.I need to convert this program to an exe in order to use it from my perl environment. Please give some hints or pointers on how to proceed?My major confusions are …

Member Avatar for kararu
0
70
Member Avatar for kararu

I am in need to do a c++ program which will take in argument from command line and return output.I need to use it from my perl environment. Is it better to convert this program to an exe ? Or Is it possible to make an exe out of the …

Member Avatar for kararu
0
102
Member Avatar for KevinADC

in the code snippets perl syntax highlighter, this regexp: [CODE]$string =~ s/^\s+//;[/CODE] the first 's' after the '=~' operator is correctly linked to the perldoc page concerning the 's' function, the second 's' however is also linked to the same page, which is not correct since it is the meta …

Member Avatar for Dani
0
121
Member Avatar for linux

Hello! I have finally installed a distribution of linux on my machine (redhat 9 lol). I have Mozilla, but when i open a website (DaniWeb especially) the browser seems to be focuses on the center of the page, and the scroll-bar is all the way to the left, so I …

Member Avatar for John A
0
158
Member Avatar for SKJoy2001

PLEASE HELP ME!!! P E R L!!! I have a CGI (PERL) file namely 'test.cgi' and it has the correct permission (755) on the FTP [URL="http://forums.devshed.com/perl-programming-6/please-help-me-p-e-r-l-380358.html#"]server[/URL] and it is within the CGI path. I have the following code in it: =================================== 1: #!/usr/bin/perl 2: 3: $cr = '???'; 4: $decrypted …

Member Avatar for KevinADC
0
159

The End.