2,452 Topics
| |
I am having trouble running some test code using SOAP::Lite for perl. The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net. It should be relatively simple test code, the only complication being the internal proxy server, but that seems to … | |
I need to add elements in the middle of a user created array. The closest I found was splice, but from what I read it can only replace. example of what I want to do it take list monkey marble oreo sandle monkey marble smile phone oreo sandle | |
I'am trying to build a website and I want to make some things auto mated. I only know html nothing else. A freind of mine make a site similer to what I'am doing but used perl. I want to know more and I can't tlak to this guy anymore. | |
Hello, I have this code of converting hexadecimal value to decimal but getting a warning at compilation. I'm starting to learn Perl and this one really makes me - almost - crazy! :) --- [code=perl] #!/usr/bin/perl use strict; use warnings; my $decVal; print "Please enter a hexadecimal value to be … | |
Hi there what i'm trying to do is: return a car manufacturer from a MySQL database and have the text returned a hyperlink to the car manufacturer website. The below just returns the manufacturer without a hyperlink: [B]$row['manufacturer'][/B] Would i make a row in the database called 'carmakeurl', store the … | |
Alright. This is a pretty simple program. The program simply reads a simulated DRM (basically an encrypted plain text file) file that was encrypted using RC4. It then reads a plain text file that contains the exact same plain text that the DRM file would decrypt too. (This is assuming, … | |
basically i want to be able to display an image from a mySQL database using PHP. I heard about this BLOB binary stuff & decided it was too complicated. How would i store a url so that i could access and display it directly in PHP. For example, would i … | |
Hi I am trying to ftp files from a windows server to a unix machine. When I login with the required credentials into the windows server , I want to make sure that the login directory is the correct one else I should change directory before initiating the ftp process. … | |
Hello all i am in ned of help with getting a cgi script to output to a flat file with out the use of a cron job whis is what ive ben using as such perl /[path to cgi file]/vfx.cgi > /[path to plx folder]/vfx.txt can i add a line … | |
Hi, I am using prefunction attribute of autocomplete. The javascript gets executed at the time of page load. But the requirement is to get executed just before displaying the values retrieved from ajax autocomplete. Plz reply.. | |
Hi I have written a ftp script in perl.It seems to work fine but for some servers it throws an error "Bad file number" while trying to close the connection.What can be the reason for this?How should I resolve it? Following is the ftp section from my code: [code]if (!$ftp->get($ftp_FileList, … | |
Hi all , just learned the basics of perl thru a website. and i was just wondering what the perl equivalent of php code .... for($i = 0; $i < 10; $i++) { $myarray[] = $i; } would be. Any help appreciated thank you .. | |
Greetings people. I've just recently discovered PHP, and have just created my first dynamic PHP-document, which fills a table with data from my SQL db. It works quite well, but what I'd like is to have hyperlinks in one of the three columns (header), pointing towards whatever adress posted from … | |
Can some suggest a good way to cleanup the HTML that is output when a perl script is run using the CGI module? I tried to install HTML::Tidy, but couldn't as i was missing libtidy. And I don't want to go through 700 lines of code and putting up loads … | |
Hello everyone, This question is in regards to the HTML::TreeBuilder module in perl. I am using it to extract meta tags from website contents. It was working fine until i tried to extract meta tags from [URL="http://www.audicanada.ca/audi/ca/language_selector.html"]http://www.audicanada.ca/audi/ca/language_selector.html[/URL] This site contains all the meta tags that i need, author, keywords, description. … | |
Hello If we have code like this [CODE]$content =~ m/test/;[/CODE] than it will return true or false, but how can I put a match of a regex into a scalar instead of it returning true or false? Thank You | |
Hi I want to map a network drive on Windows platform and i am running my script on Unix machine; What are the possibilities by which i can map network drive in perl Please reply thanks in Advance, aNa | |
I am trying to create the meta tag: [CODE=HTML]<META HTTP-EQUIV="Pragma" CONTENT="no cache">[/CODE] I tried the following line: [CODE=PERL]print $cgi->start_html(-title => 'Meta Test', -meta=> { 'HTTP-EQUIV'=>'Pragma', 'CONTENT'=>'no cache'}), "\n"; [/CODE]But I get this: [CODE=HTML]<meta name="HTTP-EQUIV" content="Pragma" /> <meta name="CONTENT" content="no cache" /> [/CODE] Can someone tell me how to create the … | |
Hi, i want to run a c code , with perl as script.. i want to compile and run the c code , in a.pl file How to do it ... Any links | |
I am trying to connect Mysql5.1 from Perl 5.8.8 on RHEL5 as follows: [code] $dsn="DBI:mysql:database=mysql"; $dbh=DBI->connect($dsn, 'root', 'root', 'mysql',{RaiseError => 1}); [/code] When I try to run perl containing above connection, it gets connected to Mysql and fetches data but displays following warning. [QUOTE]DBI->connect using 'old-style' syntax is deprecated and … | |
Following is a perl script. It is running on shell when I go perl followed by the filename and works perfectly. But when I try to open it from browser, it gives back a 500. The permissions are fine because if i make some syntax error, it gives me the … | |
Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these … | |
i have some hyperlinks on a form.I have set the navigate url of all the hyperlinks to a single destination page("display.aspx")i.e.clicking on ne of the hyperlinks would take you to the same page "display.aspx".. but based on which hyperlink i hav selected, accordingly values from database will be retrieved and … | |
Hi Guys It´s my first time here and Of course I have a problem. I have a gridView with a Hyperlink and I´d like to open a Modal Pop Up when I to click in this link. How can i do it? is it possible? Thanks a lot everyone regards | |
Ok, so I have to write two (OO) Perl modules. One the them, in one of it's subroutines, needs to call the constructor of the other module. According to my professor, this should be doable without the classes having working knowledge of each other. For example, if I have: [code=Perl] … | |
Hello, I'm just wondering how you would go about exporting the matches that regex finds. For example, if I were to have the following code, which matches all the digits in a string and (supposedly) reads them into an array, which is then displayed: [CODE] @numbers = ($string =~ /\d*/); … | |
Hi, I am trying to use XML::Xpath for XML processing. When I try to use it in code, it is throwing an error [B]501 Protocol scheme 'y' is not supported y:/.../dcr4.5.dtd. Handler couldn't resolve external entity at line 2, column 36, byte 75 error in processing external entity reference at … | |
Ok, I'm not sure if the above title made sense, here is what I am trying to do: Suppose I am writing a module that looks something like this: [code=Perl] package Whatever; use strict; use warnings; #constructor--will take one argument when called sub new { my $class = shift; my … | |
I have a perl script that works fine on my windows XP and a vmware W2003 server... but when I install it on the customer hardware, i get the following errors. Use of uninitialized value $setpub in substitution iterator at C:\scsinput\SaxoOTF.pl line 133. Use of uninitialized value $setpub in substitution … | |
How to call crystal reports 10.0 through Perl script and how to save crystal reports data to excel .....????????? |
The End.