2,977 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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? | |
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, … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> <%} … | |
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 … | |
![]() | <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 … ![]() |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
when i try to subtract 25 from 1000 i get 1000. have tried 900-25 and get 900. is this a known bug? | |
Hi, does anyone know where to find perl module Parse::RecDescent [email]cvv3@yahoo.com[/email] thx | |
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 | |
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; … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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), … | |
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 … | |
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 … | |
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 | |
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 … | |
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, … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.