2,977 Topics

Member Avatar for
Member Avatar for drsmith

We have a script that creates a .csv file that in turn is fed into a python script. Our .csv file is being generated with a line feed at the bottom, and this is hammering the python script. Is there a way to get rid of that extra line that …

Member Avatar for KevinADC
0
133
Member Avatar for zhane88

good day, I am in need of a hand ...i am building a Wire transfer software for remmitance into bank accounts but i am having some errors..i would like you to contact me in any case if you can be of assistance. my email is [email removed] Please do get …

0
46
Member Avatar for Andrieux

Hai. I'm Andrew, or Andrieux as I got by on the internet. I'm 15, and I live in South Carolina. I plan on majoring in Computer Sciences, because I've heard that having a bachelor's degree helps you out later on. Anyways, I'm not sure [i]exactly[/i] what I want to do …

Member Avatar for jbennet
0
89
Member Avatar for mtramnes

I downloaded active perl and go to the perl package manager but I cant figure out how to get my applications to run. Any suggestions?

Member Avatar for KevinADC
0
132
Member Avatar for mtramnes

Im taking a perl class not exactly sure if what Im doing is right. I was to take a written program that allowed the user to enter a number guessing what the target was. The original used elseif statements to let the user know if the guess was to high, …

Member Avatar for KevinADC
0
125
Member Avatar for MLA

I'm a noob and am struggling with what should be some fairly straightforward php and mysql coding. I have a page that I am building and am able to get the following code to work: [code=php]<?php include 'includes/config.php'; include 'includes/opendb.php'; ?> <div align="center"><h1> <?php $id=$_GET['player_id']; ?> <? $query= "SELECT p.player_id …

Member Avatar for MLA
0
80
Member Avatar for Techsavy

I have a file structure like this: \\Serversharedfolder\Folder1\Folder2\Workbook.xls \\Serversharedfolder\Folder1\Folder2\Folder3\ I am trying to create a hyperlink for the pdfs inside Folder 3 from Workbook.xls. How do I specify relative path to achieve this?.When I Copy Folder 1 to a DVD I want the hyperlinks to work. Any help is appreciated. …

Member Avatar for crunchie
0
58
Member Avatar for orwell84

Is there any way that I can get PERL to give me the elapsed time that it took to calculate something? I'm trying to make my algorithm for finding prime numbers more efficient, and obviously I can't tell the differences in the time it took to generate the list, so …

Member Avatar for orwell84
0
159
Member Avatar for inked

hi, i need to output the number of sentences in a file. The file looks like this: For the eyeing of my scars, there is a charge, For the hearing of my heart, It really goes. And there is a charge a very large charge, For a word or a …

Member Avatar for inked
0
195
Member Avatar for jehamilt

I have a Perl program I am editing. The idea is to have it write a record to another file whenever a user access this program. Here is the Perl code I am using: open(MYFILE, ">>/usage.file"); print MYFILE "USERID: `whoami` used this on DATE: `date` \n"; close MYFILE; the problem …

Member Avatar for KevinADC
0
135
Member Avatar for jehamilt

Hi, everyone. My name is Jerry Hamilton, I've been a SAS programmer/analyst for a little over 28 years and an independent consultant for most of that time. I am busily developing my UNIX shell scripting skills and dabbling in things like Perl. I will be looking to learn from this …

Member Avatar for jbennet
0
26
Member Avatar for spanish

Hello, Please i need some assistance running a perl script, i obtained a Google API key, installed a a perl editor to run the program, The server for the program went down,so this is the only way to access the application, however i experience errors when debugging the program on …

Member Avatar for KevinADC
0
160
Member Avatar for khalidmehmood

Hi Experts! I am trying to build dynamic hyperlinks but i cant do this. i am new to JSP. please guide me. here is my code: [code=JSP]<% try{ Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL, "root", "root"); statement = connection.createStatement(); rs = statement.executeQuery("SELECT * FROM contacts"); while (rs.next()) { %> <a href="viewdata.jsp?value1="+<%rs.getString(1)%>+">"+<%out.println(rs.getString(1));%></a> <%} …

Member Avatar for peter_budo
0
2K
Member Avatar for Gtrtech

I got the same virus on one of the workstations. I did the antivirus thing got rid of what I thought was all but now the only problem is right after you log in (I tried safe mode too) it logs you off. tried doing a windows repair but no …

Member Avatar for Gtrtech
0
224
Member Avatar for green_lakers

<code> Hi Guys, I am new in perl. I have this file:- 2009-01-08 09:29:19 ABCD MS08-001 Works Suite 2005 (KB943973) 2009-01-08 09:29:19 ABCD MS08-001 Works Suite 2005 (KB943973) 2009-01-08 09:29:19 BCDE MS08-001 Works Suite 2005 (KB943973) 2009-01-09 09:29:19 FFFF MS08-001 Works Suite 2005 (KB943973) 2009-01-08 09:29:19 ABCD MS08-002 Works Suite …

Member Avatar for green_lakers
0
103
Member Avatar for RohitSahni

I will be starting working on perl and java soon.. Can anyone please help, form where to start so that i get the confidence of working on it and i can do hands on.

Member Avatar for verruckt24
0
163
Member Avatar for riscphree

I cannot get mysql working. This is a Fedora Core 2 installation, I tried installing mysql with yum (it installed the 3.23 version, I dont want that). I tried upgrading, that did not go so well. I tried installing from the binaries, well, that didnt go to well either. So …

Member Avatar for manoj.samtani
0
304
Member Avatar for PcPro12

OK, so for a while now I wanted to try out linux, so I did, first linux I used was ubuntu...but I did try Gentoo and Knoppix, knoppix I liked but had problems mounting the hard drive, so I went back to ubuntu and works better than before for some …

Member Avatar for jbennet
0
152
Member Avatar for inked

hi ive got this segment of code that im struggling with the code does what i want it to do in the sense that if i put in the filename of the file that i have created it works but for a random user the code will not produce the …

Member Avatar for KevinADC
0
122
Member Avatar for lameassthemity

I'm writing a class planner, where the user is given the opportunity to enter certain information about their classes and have it printed back to them upon request. The problem I'm having is that whenever I enter any text into the input with a space in it, it returns me …

Member Avatar for zalezog
0
134
Member Avatar for blboyd

I'm new to PERL but I'm picking up quick. I've been able to search a file for a certain string but now I need something slightly different and I'm completely lost. I need to search a text file for a string and return the text after it. I have a …

Member Avatar for Murtan
0
77
Member Avatar for Iggystooge

Hi, I came home yesterday to my computer doing weird things, including opening up windows explorer and lots of tabs on Mozilla. I realized it was a virus and did a virus check. I run Windows XP SP2. I went to safe mode. I use AVG for anti-virus, it found …

Member Avatar for crunchie
0
935
Member Avatar for winrawr

I'm looking into learning some more languages and some better code writing techniques, but I am not sure of the languages that I should delve into. So far I know VB really well and I started learning assembly, but I don't know that past some, I guess, medium difficulty, 16 …

Member Avatar for Rashakil Fol
0
117
Member Avatar for mayfieldjr

I came here to find an answer but will ask that question when/if I can't figure it out. : ) I work for a cellular provider. I do programming in VB6 and transitioning to VB.Net. A little bit of Perl also. I mostly write parsers and load the data into …

Member Avatar for jbennet
0
132
Member Avatar for bilbobrud

when i try to subtract 25 from 1000 i get 1000. have tried 900-25 and get 900. is this a known bug?

0
65
Member Avatar for perl1user

Hi, does anyone know where to find perl module Parse::RecDescent [email]cvv3@yahoo.com[/email] thx

Member Avatar for KevinADC
0
214
Member Avatar for perl1user

calling C/C++ function from perl from : [email]cvv3@yahoo.com[/email] Hi, how do I call a compiled C/C++ function from perl ? Let say I have a C/C++ function: [code] *char func(char *ptr, int len) { ... return str;} [/code] Now i wonna call it from perl

Member Avatar for perl1user
0
122
Member Avatar for merianos

Hello all ! ! ! I have a litle problem with a script that I have create. This script selecting from the database all the records (in total 2) and then print out a XML file. I have enter this code to change the header to XML : header('Content-type: application/xml; …

0
52
Member Avatar for protonix

I wrote a perl script to decode a file and it keeps giving me a weird out put. I have zipped my script and the encoded file. Can any one make any since or tell me what I am doing wrong?

Member Avatar for KevinADC
0
75
Member Avatar for Ale123

i used this code to generate image from flash .. <?php error_reporting(1); /** * Get the width and height of the destination image * from the POST variables and convert them into * integer values */ $w = (int)$_POST['width']; $h = (int)$_POST['height']; // create the image with desired width and …

Member Avatar for chili5
0
121
Member Avatar for Paryushan

Hi, I would like to automate some of my actions on command prompt using perl. can u plz help me how to start with it. Like I want to connect to oracle database and run a sql query. How do I do that? Here are the steps that I need …

Member Avatar for KevinADC
0
148
Member Avatar for Paryushan

Hi, I am trying to find and replace a particular string in a file and save that file. Here is what I did, where I am writing the output after replacement into new file. I was trying to avoid to open the file for writing and try to use just …

Member Avatar for Paryushan
0
80
Member Avatar for Kelicula

Hi all, I am usually a Perl programmer, I have some background in javascript and am attempting to create a Googleish selector div. [I]Please bear with me, excuse the long introduction...[/I] Here's the details: Our site filters content by location. I use zip codes to find radius's. So if a …

Member Avatar for hielo
0
235
Member Avatar for Paryushan

Hi, I am trying to write the output generated by a simple command "dir" to a file. Can you please help me do that? Here is what I am doing -- system ("dir"); this will run dir command on my D: drive now, I want to write this ouput (in …

Member Avatar for KevinADC
0
119
Member Avatar for nathanpacker

Hey everyone. I have an interesting perl idea, and am wondering if it's been done. I would like to have a page on my website, where someone could go in and chat with me. I wouldl like it so that, a person (that I have given a user name and …

Member Avatar for verruckt24
0
189
Member Avatar for PC_Nerd

Hi, Firstly Ill say that I'm a comlete newbie to perl, and this is more of an investigation question than a code one. I want to use perl for a CGI script- however I need the source code to be completely closed source - so that users cant decompile it …

Member Avatar for PC_Nerd
0
1K
Member Avatar for peg110

Ok, Here is my issue. I have written a script that takes Weblog files that have been GZipped. Parses them outputs the required data to another file. GZipps that file and leaves the original in tact (Actually it unzips it, then rezips it). Anyway, it runs just fine on my …

Member Avatar for KevinADC
0
207
Member Avatar for 000stephen

Thanks in advance for reading this, and commenting. The example below is from p.144 in the latest Lama book edition (O'Reilly 2008), and I can't get it to behave as the book states. It states that the diamond (<>) operator will take user input (which should be a file name), …

Member Avatar for 000stephen
0
140
Member Avatar for rottmanj

To get things started, I am re-writing an application that I originally wrote in perl. So I am some what sticking with the same concept as I did for the perl version. This application uses multithreading in order to handle multiple configurations and data streams. At this point, I have …

0
68
Member Avatar for muppet

I have written a script that runs with a glade gui. When a button in glade is pushed I need it to run a piece of code, pause for 3 seconds and run it again in an on going loop until the button is pushed again. So the button is …

0
69
Member Avatar for Paryushan

Hello everyone, This is Paryushan. I am currently working on perl and selenium and hoping to get answers to my Qs and answer some of the Qs :) Looking forward to help u and me. Thanks, Paryushan

Member Avatar for altyfc
0
39
Member Avatar for 4string

Hi, I'm trying to use Perl script to call WMI interface, but I found out the WMI ports are random, how can I restrict the range of TCP Ports(Actually, I wanna keep the same port access)? Is there any way to make sure this is always allowed? If anyone can …

0
88
Member Avatar for calcop

Hello everyone. I have created a sales system for my company. Basically you telnet to the system and enter your login name, password ... From there you can access the sales system. I am working on a feature to write reports for a certain area of the system. For this, …

Member Avatar for calcop
0
151
Member Avatar for santhanalakshmi

Hi, I want to add one "Save Button" on web page.I am working on ".cgi" program and using "sql server 2000" database.Datas are retrieving from the database and displayed as on html page(datas are student records (i.e) marks,grade etc).In that displayed page,i want to add "save button".By clicking save,it should …

Member Avatar for KevinADC
0
96
Member Avatar for CoolAtt

Hi. i have to extract the following line: C:\WINDOWS\lsass.exe i tried [QUOTE](\w:\\.*\.\w{3})[/QUOTE] it worked on some strings only. any suggestions ? plz help.

Member Avatar for CoolAtt
0
90
Member Avatar for inked

hi all, im vicky aka inked, pleased to meet you all, im 21 years old. I have knowledge of javascript just started learning perl, my aim is to be a website designer, thats what im studying for, looking forward to navigating daniweb and checking out all the cool stuff and …

Member Avatar for inked
0
23
Member Avatar for mtramnes

Create a form to upload a plain text file, once uploaded to the file system, open the file, and email me a message containing the contents of the file. Im having trouble with learning perl to begin with and Im not sure where to even start for this project. Could …

Member Avatar for verruckt24
0
118
Member Avatar for cugetare

Hello, I am having a bit of a problem.... I wrote a perl script that generates a report in excel. I am using cygwin perl. I made two batch files one calls perl directly and the other calls a makefile that calls perl. Admin: make and batch work perfectly Power …

Member Avatar for cugetare
0
179
Member Avatar for Tom Tolleson

Hi! I just inherited a rather large legacy site here at work that has no database behind it. It's a large volume of HTML pages with the content written right into the HTML page. I need to extract the content and bring it into a database, or XML files. Each …

Member Avatar for MidiMagic
0
83
Member Avatar for webdude12

I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE …

Member Avatar for chrisranjana
0
121

The End.