2,977 Topics

Member Avatar for
Member Avatar for goodluck4287

Hi everyone, working on a class project where we spider some patents from the USPTO (Patent office) and eventually map out our findings. Our teacher provided a script and expected us to hardwire directly to a modem, not a router. That is asking a lot since I need to provide …

Member Avatar for Fest3er
0
197
Member Avatar for rpetras

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 …

Member Avatar for rpetras
0
161
Member Avatar for DaveF0223

I'm trying to use a DLL that I have used many times in other languages including C, Java, Perl, etc so I am pretty familiar with the library, but I didn't write it. It came from a comercial source. I'm using ctyps to load the library as such: [code] from …

Member Avatar for jlm699
0
174
Member Avatar for babno

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

Member Avatar for babno
0
2K
Member Avatar for qaokpl

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.

Member Avatar for ghostdog74
0
173
Member Avatar for Buckets78

Let me start out by saying I've been playing with Python for a few weeks now, was recommended by a friend who uses Perl, and it's been quite enjoyable to play with. I've no other programming experience except HTML/CSS. This site has been a wealth of information and an excellent …

Member Avatar for Buckets78
0
89
Member Avatar for sprok

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 …

Member Avatar for sprok
0
618
Member Avatar for jameswoodhouse

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 …

Member Avatar for vidaj
0
205
Member Avatar for zoner7

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, …

Member Avatar for jephthah
0
172
Member Avatar for daviddoria

Does anyone have a good 2 line summary of WHEN to use perl/python/bash/etc? To do easy-ish things, they can clearly all be used, but there is likely an ideology behind each that indicates WHEN/WHY to use them. For example, I use VB if I want easy GUI, c++ if I …

Member Avatar for leegeorg07
0
136
Member Avatar for jameswoodhouse

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 …

Member Avatar for mwasif
0
50
Member Avatar for Debangana

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. …

Member Avatar for ghostdog74
0
119
Member Avatar for solocky

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 …

Member Avatar for KevinADC
0
85
Member Avatar for Capsi

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..

Member Avatar for wireless2007
0
68
Member Avatar for Debangana

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, …

Member Avatar for Debangana
0
236
Member Avatar for akc1231

Hi, I've been having this problem in which when i click on any google search link, it redirects me to some other page. I am experiencing this both in firefox and in IE. I've serached and found out that people have overcome this by using hijackthis. I've downnloaded hijack this …

Member Avatar for jholland1964
0
102
Member Avatar for isomillennium

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 ..

Member Avatar for isomillennium
0
55
Member Avatar for Gonkawan

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 …

Member Avatar for Gonkawan
0
118
Member Avatar for sid78669

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 …

Member Avatar for sid78669
0
81
Member Avatar for shadowolf64

Hello everyone, I'm rather new at C# and programming in general, I have some experience with Java, PERL, and Python but I wouldn't consider myself an expert on any of them. I'm using C# because it is very similar to Java and it seems to be even easier to make …

Member Avatar for JerryShaw
0
132
Member Avatar for sid78669

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. …

0
56
Member Avatar for arya6000

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

Member Avatar for KevinADC
0
77
Member Avatar for rana03

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

Member Avatar for rana03
0
788
Member Avatar for sid78669

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 …

Member Avatar for sid78669
0
164
Member Avatar for kishore5001

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

Member Avatar for ithelp
0
77
Member Avatar for punitdam

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 …

Member Avatar for punitdam
0
531
Member Avatar for sid78669

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 …

Member Avatar for sid78669
0
225
Member Avatar for KimJack

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 …

Member Avatar for KimJack
0
79
Member Avatar for yorockk

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 …

Member Avatar for greeny_1984
0
68
Member Avatar for SID.SIL

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

Member Avatar for SID.SIL
0
931
Member Avatar for ItecKid

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] …

0
63
Member Avatar for orwell84

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*/); …

Member Avatar for KevinADC
0
94
Member Avatar for ITSAMB

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 …

Member Avatar for KevinADC
0
146
Member Avatar for ItecKid

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 …

Member Avatar for KevinADC
0
89
Member Avatar for mjump54

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 …

Member Avatar for KevinADC
0
255
Member Avatar for mainak001

How to call crystal reports 10.0 through Perl script and how to save crystal reports data to excel .....?????????

Member Avatar for KevinADC
0
231
Member Avatar for joydsouza90

When i start my computer, all i get is a blank black screen. If i open task manager i can see that explorer.exe is running but under CPU it shows 0. I have to end explorer.exe and restart it from "run" each time to get my computer to work. How …

Member Avatar for francisabey
0
103
Member Avatar for sparso

I am in need of a script that reads a log file, takes some data from the file and saves it in a .csv (coma separated value) format. The example log is below: log.txt: Date: 3/14/09 Device #: 1 Test: Cont: pass Test: Leakage: pass Test: INL: 0.88 Test: DNL: …

Member Avatar for Gribouillis
0
186
Member Avatar for ashkash

I have a number of files in a folder that are named as numbers like 1, 2, 3, 4, 5, 6, etc. I also have a text file in the same folder that identifies each of these numbered files and gives their path location. The text files looks like this: …

Member Avatar for Comatose
0
190
Member Avatar for brakeb

Greetings, I have reached a point where I need some help. I have a tivo at home, and I'm trying to script something that will allow me to 1.) pull the XML off of the tivo, and save the file, 2.) Take the text in the XML, and pull out …

Member Avatar for brakeb
0
383
Member Avatar for rejoicegants

I am facing problem with running perl script inside php file. Please find my simple perl and php program below. I have installed both php and perl successfully in my windows machine. test1.pl print "Hello from perl! " test.php <?php print "Hello from PHP! "; passthru(“perl test1.pl”); ?> The passthru …

Member Avatar for darkagn
0
73
Member Avatar for Silver Snail

I have created a simple HTML and Perl test to figure out how to properly get a browser to re-Post form data to a new URL. The raison d'etre for this test is to figure out the best way to re-Post the shopping cart order form data to PayPal after …

Member Avatar for Silver Snail
0
897
Member Avatar for sid78669

I am trying to use the rand function to generate numbers from an array containing 3 ranges. This is unfortunately not working. I know I am doing something wrong, either with rand() or with my array declaration. Can someone please correct me: [CODE=perl] my @numbers = [48..57, 97..112, 65..90]; $num …

Member Avatar for KevinADC
0
97
Member Avatar for khalidmehmood

Hi Experts! I am developing a online shopping module I am new to JSP. I have develop the interface as under for one product: Product Name Manufacturer Stock Quantity Price <Input text field to input quantity to purchase> hyperlink Buy Here that pass the parameters product ID, product name, price …

0
93
Member Avatar for invisal

* [B]Edit:[/B] Sorry about double negative on the title, I don't know how to edit it back First of all, I am fairly new to Microsoft Access VBA. I created a form with 2 textbox (txtUsername and txtPassword) and one label act as button (I use label instead of button …

0
81
Member Avatar for Homee2010

Deer peepul, Just recently, I am unable to access hyperlinks from OE. Not only that, but my computer freezes up when I click a link imbedded in an email. I run XP/SP2, and OE 6. This is driving me batty.... Thanks!

Member Avatar for caperjack
0
80
Member Avatar for redZERO

Hi I am having problems with BufferedImage. What i would like to do is create a bufferedimage from an image stored on the hard disk. For example, i create a new file pointing to this image file. From this I would like to create a BufferedImage.

Member Avatar for peter_budo
0
65
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Member Avatar for JamesCherrill
0
204
Member Avatar for GiangsonDuong

My wireless card and ethernet both connect to the network, but when I try to use a browser or any other program that uses the internet I get no connection. I've tried resetting the winsock and the internet protocol but neither worked. I made a call to verizon tech support …

Member Avatar for uthman4u2nv
0
147
Member Avatar for perlseek

Hello everyone, I am creating a script which will send me a notification by email. But in that email my first line should be bold. print OUF "\nFirst notification\n"; here i need that [B]First notification[/B] should be in bold

Member Avatar for Comatose
0
32

The End.