2,452 Topics
![]() | |
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 … | |
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 … | |
Hello. I would like to run more than one Perl program I have written from within a sed script . Thanks in advance. whatsup. | |
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 … | |
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 … | |
[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 … | |
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. … | |
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 … | |
Hi All, I want to pass the value of java script variable in perl? how can I do that. Please help me. Thanks | |
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 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 … | |
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 , 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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 | |
Hi, Please help me in finding out any good and quick ebook on Regular Expression on PERL . Vinay | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.