2,977 Topics
![]() | |
Hopefully someone can help me with my CD drive. It's not reading some of the CDs I put into it. My CD writer / DVD ROM combo drive is reading and running CD-RW disks but not reading normal CD-R disks. It also varies with programs & games. My drive will … | |
Hello, please try to help the fresher i was a beginner in perl .but gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user and search … | |
Hi This may seem pity stupid but I am somehow stuck in this: I have got a file containing years like this : 1913 1913 1917 1917 1917 1917 1917 1955 1955 now this is just a part of a file containing almost 50000 years. What I want to do … | |
I am frustrated to no end. I absolutely cannot find the solution to paginating a search result that pulls info from two tables. Everything seems fine at the start. I get a page with the correct number of results (2) and the correct number of page links on the bottom … | |
Hello, please try to help this fresher i was a beginner in perl .but my TL gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user … | |
Hi all, I'm using netbeans 1.6 ide to develop my project. When I build my project, netbeans create .jar file. but when I run it it also runs but not like When I run it from ide's run button. Some parts of application do not work example a button click … | |
Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information … | |
Hi Guys How to convert number of days to number of year and month in Perl. | |
Hello, I am trying to create a script that will compare two identical pieces of hardwares configuration files (that are added via a GUI provided as part of the device) and to synchronize the two devices configurations. I currently have a shell script that connects to and downloads the configuration … | |
I have a series of data (x,y) as below. I want to use this data to create a bell curve (normal distribution) with perl. How can I do this? x y 1 2 2 50 3 40 4 300 5 70 6 80 7 8 8 10 9 25 10 … | |
Hi, I am new to perl and have been getting decently good at it. Now i am getting into doing plots with perl. I read some articles/examples on how to create plots using perl It mentions using GD::Graph Module However when i try to plot I get Can't locate GD/Graph/bars.pm … | |
Dear All I have two files having values like this: File1: 10.1103/PhysRevA.10.2325 1 10.1103/PhysRevLett.32.584 2 10.1103/PhysRevB.13.4845 3 File 2: having comma separated values like this: 10.1103/PhysRevA.10.2325,10.1103/PhysRevLett.32.584 10.1103/PhysRevB.13.4845,10.1103/PhysRevLett.32.584 I want the result two be like this: 1 2 3 2 I am using this code but have not be able to … | |
After recieving some help from the community here I came across the site: [url=www.sitefinity.com]Sitefinity[/url] and [url=www.dotnetnuke.com]DotNetNuke[/url] SiteFinity: It offers a CMS system to help build and manage websites. [quote]Sitefinity is a development platform for construction and management of websites, community portals, and intranets. Inspired by Web 2.0 UIs, the product … | |
Hello everyon. I'm new to computer programming and joined this site to primarily learn more about programming and other technical issues of interest. I recently completed my Master of Arts in Political Science and was introduced to programming with R, Python, and Perl during my coursework within graduate school. I'm … | |
I thought it might be useful to show the special local matching variables that perl uses. Here they are: $1..$9 Contains the subpattern from the corresponding set of parentheses in the last pattern matched like \1..\9 $& Contains the string matched by the last pattern match $` The string preceding … | |
I'm recently completed my Master's of Arts degree in Political Science. While I was in grad school, I had to learn R. From there, I began learning Python and Perl. When I was in grad school, I was utilizing most of these languages for data analysis and data visualization. For … | |
Hi, I know how to stor multiple values in has table with single key.Basically HOH But i am not able to do the same when the hash has multiple keys I am trying something like this and when i try to print it gives garbage value for the has keys.. … | |
Hi there, I'm very new to perl so I hope that you can help me. I have a list of duplicated entries in one file and what I want to do is to search another file for those entries that appear in the first file and then rename each duplicate … | |
I have a jquery slider that is not cross browser compatible. It works in all browsers except FireFox. From reading other forums it says that FireFox needs to read document.getElementByID to properly read the javascritp. Does anyone know a way I can rewrite this code to still make the slider … | |
I have a aspx page where am showing a pdf document using iframe. and beside it am dynamically creating linnks of last 5 uploaded pdf files. Now I want to change the pdf showing through iframe to change on respective hyperlink click. I have shown the pdf and the links … | |
Hi all, Basically I am attempting to determine whether the first 2 columns (tab delimited file) from file1.txt match the first 2 columns of file2.txt. If they do I want to output the entire row of file1.txt to outputfile.txt... I can do this using vbs but due to the amount … | |
Hi, I am having some problem using nested if else in C# project. I have no idea why it is always executing the Save() function. I don't want to execute the save() function if the (dr.Read()) is true. Here is the code: [code=c] protected void BtnSave_Click1(object sender, EventArgs e) { … | |
hii guys..Got one small question..really got confused with perl conditionals and loop. Would you please elaborate where to use: if..elsif while for foreach unless do in a program? Which one is best for which purpose? Many thanks in advance.. | |
Hii everybody!! I am a new user of Perl. I have a small problem here: I have got a tab delimited text file containing a list of chemicals and their properties. Now I would like to create a new column where the program should first scan the whole file and … | |
i have a .php webpage with the following basic structure [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <style type="text/css"> .style1 { background-color: #4BACC6; } .style2 { background-color: #005AE7; } .style3 { text-align: center; color: #FFFFFF; font-family: Arial; } .style5 { … | |
i am using win-7....i got problem with ma desktop icons....its showing unknown program icon for all other programs....what should i do now????? | |
Hii I am a learner of Perl and I am asking a silly question now, I think!! I have a text file containing: ABCDEFGHIJKLmnOPQRSTUVWxYZ Now I would like to translate those m n and x written in small letters into MN and X. How could I do that? I have … | |
I have the following perl script which works nicely. It takes a list of URLs from a file, looks up each one, and returns the meta-keywords for that domain. Problem is, sometimes it hangs because it goes to a site which does not respond. I'm wondering if there is a … | |
Hi, I am a newbie to a perl. I have a problem in getting old and new contents of file. The file is like this: [code] StartTimeStamp,EndTimeStamp,counter1,counter2 Aug15 2010 22:45:43,Aug15 2010 23:00:00,6,0 Aug15 2010 23:00:00,Aug15 2010 23:07:43,3,0 [/code] The output should be: [code] Aug15 2010 23:00:00,Aug15 2010 23:07:43,3,0 [/code] After … | |
Hi, I need some help with something. So, I was checking my things on the Internet like I always do, so all my Hyperlinks were purple, but the thing is when I went to check another thing of mine, the link was blue. It was impossible for that to happen … | |
i create a java prog for simple banking purpose.. but its not working properly... when we create account through 2nd option,it work as it coded but if go through 1st option it doesnot access created object but create new one....and unable to perform deposit and withdraw function in created account. … | |
Hi, I need to replace "Link Text" with the value in the variable (myNewString). myNewString is just text e.g hello code document.write(myNewString); <a href="welcome.html">Link text</a> i need some thing like the below or even a php version of it <a href="welcome.html">(myNewString)</a> --this syntax is incorrect it seems THANKS!!!!!!!! | |
I have a file, which I have read, and need to print a parse tree for it. What I am doing is a syntax checker only for open and close parentheses (). If the item read is a open parentheses, I put it on a stack. If it is a … | |
Hi I'm new to Perl language and I have this assignment which is killing me, CAN SOMEONE HELP ME PLEASE. Below is the question: You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, … | |
Hi guys, I have a several dozen .ini files from which I need to extract specific lines. The lines I'm pulling are repeated all throughout the code so I can't count on specific strings to pull these lines. My dilemma is that I want lines: 3, 4, 6, 47, 50, … | |
hi all, Im trying to add a "title" to a switch case statement below, but for some reason im unable to complete, what I thought was a simple task. Hope someone can help and explaine the reasons why cheers, Lloyd [code] switch($ad) { case "add1.gif"; header("Location: http://www.google.co.uk"); break; case "add2.gif"; … | |
Hi, Background: I have an input xml and a xslt to be applied on top of that to get a new desired xml output. Both (input xml and xslt) are tested thoroughly and working as expected if I am using them via java code (core java APIs). I want to … | |
The Segway has been the geek-chic ride ever since its launch. Effortless mobility and the ability to experience the great outdoors (and large indoors for that matter) while retaining a sense of lethargy have no doubt added to its appeal. Every CES I have attended has afforded me the opportunity … | |
hello friends , I want to learn perl or python. which one is powerfull and where to start | |
Hi there, I have a script in my intranet to which I have 100% rights to run through browser using exec(); passthru(); system(); etc with php. Now we use this to make automated backups per user database of certain systems connected. Very simple for the end-user after done working and … | |
Hi everyone! I am very new to Perl, and have a problem/question. I downloaded a very simple search script, and configured it for my Website. I was able to customize the output page to match the color, and theme of my site. I was also able to get it to … | |
how to make perl code executed automatically when new file comes out ??? i am done with most of the script, the script is converting files from one format to another , so i need the script to run when new files comes out ... | |
Hi, Can anyone please help me on the below issue? I have a input log file that will be growing. I need to read this input file and print the last record whenever certain pattern matches (pls remember that input file is dynamic - other files will be writing to … | |
[CODE] my %distAvail; foreach (map(split(/\D+/,$_),<STDIN>)) { $distAvail{$_ }++; };[/CODE] What does [COLOR="#ff0000"]$distAvail{$_ }++;[/COLOR] mean here? The input is set of distances separated by whitespace (or any non-digit character). The book says %distAvail keys are distances and whose values give the number of copies of the key. But I don't understand … | |
Hi All, I have a simple perl script which subtracts two variables holding decimal numbers and the results is not as expected. $a = 417747646.853143 $b = 417747646.853142 $c = $a-$b expected result = $0.000001 actual result = -9.5367431640625e-07 any idea on why I am getting wrong results? | |
I am trying to implement an application in which a Perl script uses Win32::OLE to populate a spreadsheet from a database and present it to the user. The user is then free to modify the spreadsheet [I]manually[/I]. The modified data is then required to update the database. We would prefer … | |
Hi all, I have a more philosophical question which I think might help me to better understand the interest of pointers in C++. Indeed, my background is mainly Perl and a bit of Java. I am currently implementing (as an exercise and because I work in this field) a class … | |
Hi everyone, I am quite new to C++ (coming from perl). As an exercise, I am currently trying to create a class to play with graphs. I have a class Node in which I overload the == operator (to test the equality between two nodes). At the moment, I consider … | |
Hi, My script has 3 options which recieve integers. If any of those options are having a value which is less than zero i want to make them to 100. eg: if opt2 = 32 and opt3 = 24 i want to make them to 100. <code=perl> our $opt1,$opt2,$opt3; our … | |
How is build release engineering different from doing scripting task...or are these same |
The End.