1,633 Topics
| |
Hi, I want to write a program in perl which will pass function parameters to a C++ .exe file and run the exe file with these parameters | |
In linux I used PAR pp and converted my perl code to executable.. while running the filename.pl it is completely fine. But when I run the executable with ./filename It says it cant locate object methods new and other function (both written in inline c++.) some hints plssss | |
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 … | |
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 … | |
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 … | |
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 … | |
How do I stop a thread immediately, in perl? Should I use the SIG interrupt or someone show me hints. thanks. | |
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, … | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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"; … | |
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 … | |
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 < … | |
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 … | |
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."' … | |
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) | |
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 … | |
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 … | |
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. | |
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 … |
The End.