2,977 Topics
![]() | |
hi, first off I want to say that I was helped immensely by the other posts, especially the one where the one person was talking about classes. From veiwing his coding i was able to get my text adventure started. My basic questions are: 1) how do I learn the … | |
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, … | |
HI all, In my c++ program, I did the following. [code]...... class thr {private: char *d; ...... public: d =new char[35]; .... } destructor has the line delete [ ]d; i get segmentation error *** glibc detected *** /usr/bin/perl: free(): invalid next size (normal): 0x0000 000001bc7120 *** [/code] But if … | |
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 … | |
heh, while surfing the Net yesterday I found brilliant site about making shell scripts with PHP. This might be intersting for those who have to do some system maintenace (like me), but do not bothered learning perl or bash.... so, have a look at [URL="http://www.php-cli.com/"]http://www.php-cli.com[/URL] :!:. There is everything there. | |
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. My name is Dennis. I'm 16, a senior in High School, and I like programming. I've got over Two and 1/2 years of experience with HTML/CSS, and over Two years of PHP/MYSQL experience. I also dabble in XML, JavaScript, Perl and whatever I feel like looking into. I'm working … | |
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 … | |
Hello - First of all, to anyone who takes the time to read this post, thank you. I followed the rules, did a search to see if my particlar question may have been asked and answered, but found nothing, hence this post. I am in the process of developing a … | |
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 … | |
Hi there :) My name is Chris, and I am from NS, Canada. I'm a programmer by hobbie and spend a lot of my spare time doing programming. As well I do volunteer tech support for an online voice-video-chat program. I decided to join these forms to be able to … | |
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 … | |
Has anyone here ever worked with the Slony database replication system? A while back, one of the (remote) servers we were running this on went down, and the server had to be replaced before we could get the DB back up. I was able to upload the database this morning, … | |
I was wondering what an appropriate programming language would be for creating a simple yet expandable (GUI) operating system. Is it possible in: Python? Java? Perl? QBASIC? Ruby? Thanks! | |
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. | |
CAUTION.. I tend to ramble and make thousands of typos. Now, where to start, where to start... I am Sara and I am a 30-yo chick and mom of two boys. I just moved from the states to Belgium a month ago so I've been pretty busy lately and still … | |
Hello.. I'd like to renew my old perl-based website and I am thinking to Python compared with PHP for many reasons (not last that I can use it for many other things that just web-development). However there are tons of "web-frameworks" and I am very dishoriented with all this "offer".. … | |
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 Guys And Gals I Am Basically A C,c++ Programmer And By Interest Learned ..net Framework,vb,oracle,my Sql,php,ajax,apache,html,xmland Script Side Languages Along With Perl And Cgi. I Quite Known Microsft Sql Server And Earned Diploma In Testing And Quality Management. Presently Studying Final Year B.e My Correct Project Is In Ajax … | |
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 all, Can anyone shed some light as to why this is not working? for i in `cat wordlist.txt | dos2unix | sed -e 's/ *$//'` do sed -e 's@$i@<a href=http://www.domain.com>$i</a>@g' article.txt done I've also tried: perl -pi -e 's@$i@<a href=http://www.domain.com>$i</a>@g' $file The worlist.txt file consist of words one line … | |
im trying to build an editor using java. how can i bind an interpreter like perl. so i can run or output the result in a gui?? | |
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 … | |
Hi, I have a row where it has multiple columns distinguishing the number of votes a user has. so it'll look like this: [inlinecode] [ user ] [ option_1 ] [ option_2 ] [ option_3 ] [ option_4 ] bobby........ 1 ......... 3 ............ 7 ......... 3 [/inlinecode] Is there … |
The End.