2,059 Topics

Member Avatar for
Member Avatar for adadadad

Hi, I have an html file and I have to extract information from its table. I am new to perl but I would give my approach below so I could get some help.. In the html file the table is like for example a 1 b 2 c 3 d …

Member Avatar for katharnakh
0
150
Member Avatar for dr4g

Hi there. All mail sent through the SMTP server, i need to modify the message being sent through. I thought of making either a C,bash,perl script to take in the message, modify it and return it to SMTP, or stop the SMTP process, and re-call it from the script. Purpose …

Member Avatar for Salem
0
118
Member Avatar for neverland

I have a certain VBA file in which I want to change 2 things automatically (this file is automatically generated and I don't want to change it manually over and over again) Suppose the name of this file is BAS_IN.bas and the contents are: Function AsianOption(Optional SpotVector As Variant, _ …

0
70
Member Avatar for manikandan76

Dear Pals, I am into programming for about 6 years. Started with C & Perl. Now in .Net & XML for past 3 years. I mainly work with applications related to image and text processing. Not much with web applications and database. Occasionally I get bogged down by some complex …

Member Avatar for selfhelpebooks
0
95
Member Avatar for rysin

Ive been working with perl for a while now and was wondering how and if I could get started in making my perl code do real life things like flip a switch. Any help is appreciated.

Member Avatar for ithelp
0
100
Member Avatar for Scruffstone

Hi All, I'm new here so apologies if there's something not quite done right in my first post on here. I'm fairly new to Perl but this is the first bit I've tried to write at home on my own. I want to have a .pl file that runs in …

Member Avatar for Scruffstone
0
170
Member Avatar for massfo

Hi, I've developed a little ClearCase perl wrapper running under Windows shell. In some cases the wrapper just passes the clearcase commands and parameters to the "normal" IBM cleartool and exit. I use exec to run the clearcase commands in these cases and it works as expected, but after the …

Member Avatar for KevinADC
0
83
Member Avatar for cool_aps

Can any body tell, how to write perl script using SOAP-Lite for "Web services". how we can get information from web services using this script.

0
71
Member Avatar for someoneelse

I have a detail view that is displaying information from a table called demos. I am currently displaying a hyperlink so that someone can click the link and go a page (intense, I know!) I would like to make the hyperlink go to different pages based on the value of …

Member Avatar for srikanthkadem
0
113
Member Avatar for suresh82

I have a problem loading pictures or images while loading a cgi perl script file but all the other html tags are working fine plz its urgent

Member Avatar for KevinADC
0
53
Member Avatar for function

Hi all, I'm new at programming in Perl script, and I really need help with this: I want to make a Perl script which returns current version of some software installed on the system (for example current version of Macromedia FlashPlayer). The system on which I'm writing the script (and …

Member Avatar for KevinADC
0
91
Member Avatar for Netking27

Hi, Well this question has arisen on viewing some of the solved queries. as how to create a link which points to some other website or web page..

Member Avatar for sittas87
0
176
Member Avatar for Syakoban

Hi, Full disclosure - I just cut and paste my way through scripting - I don't really know what I'm doing. Some time ago I got help with a little CGI perl script that included a link as a line of code with a variable in the form [ICODE]$page = …

Member Avatar for Syakoban
0
112
Member Avatar for scuba183

So I'm having a bit of a problem with a CGI script. It runs fine, except for the little problem that param(x) doesn't work at all. It will either crash the program or return an undefined value. [code=perl] #!/usr/bin/perl use warnings; use CGI qw(:standard ); $temp=uc(param('class')); $class=chomp ($temp); $temp=uc(param('type')); $type=chomp …

Member Avatar for KevinADC
0
138
Member Avatar for Anilbrp

Hi all, I am new to this perl script. I want to open notepad.exe in perl script in the foreground., i.e if I give the command as system ("c:\\windows\\notepad.exe") , notepad should appear in the foreground. (should not run as a background process). I am using Apache server on windows. …

Member Avatar for samarudge
0
2K
Member Avatar for ejazcyberia

Hi, The below script works fine for me but with normal login, Actually i need to go with "enable 5" and with password "xxxx" to get the user details. So please any one help is here highly appreciated. Here is my prompt for enable, Pleaes have look on it, ERX02>enable …

Member Avatar for ejazcyberia
0
160
Member Avatar for ibroxy

I am a newbie in perl and I need to produce a script in perl to work and achieve the following: 1) Look into the file /etc/defaultrouter , and store the value in it 2) If the value is a number, go to LIST and print out the second column …

Member Avatar for KevinADC
0
118
Member Avatar for prakasnisha

hi, thanku for your help. I need some more help with the perl scripting. i have to write a script which compares two files. now thw files have the data like File1:- .title 'title:VDDL_switched.meas0' max_rush_current = -5.4316e-02 at = 4.9415e-09 powerup_time_u_switch_ring/u2_hs65_ls_sw3l60 = 6.3951e-09 targ = 6.9051e-09 trig = 5.1000e-10 temper …

Member Avatar for Major Major
0
256
Member Avatar for tudor.petru

Hi all, I find this self introduction step a very nice and surprising idea for a technology site...it shows the soft(ware?) side of geeks :). About me: I have 3+ years in C++ programming (network, VoIP stuff), some 2 years in C (drivers and embedded programing) with some Perl on …

Member Avatar for Jx_Man
0
44
Member Avatar for jephthah

so... whatchyallthink? i notice that this forum gets a tiny burst of activity about once a week. before posting this thread, the last couple posts here were made 9 days ago. then the next few were 17 days ago. and this pattern seems to be the same with other multi-language …

Member Avatar for Major Major
0
284
Member Avatar for prakasnisha

hello everyone, can anyone help in writing a perl script which automatically replaces the commands in a file(command file), with the new values. i have written a code but its not working properly. if anyone could help me plz. i am new to this scripting language. thanks in advance. Thanks …

Member Avatar for prakasnisha
0
120
Member Avatar for ze-m!nd

Hey everyone, I'm trying to make a perl script that logs me into my account, and fills this form for me for my job, but i cant get it past a drop down menu, wat a person would manually do is put the mouse over this button, and list would …

Member Avatar for KevinADC
0
137
Member Avatar for maydhyam

Hello there, My intentions are to enter the employee id in the search page, and have the results displayed below the area to enter the search criteria with the select box and update button( i only want to update 1 field) here are the codes..... My problem is whenever i …

Member Avatar for nav33n
0
180
Member Avatar for SNN

Hi all , I have loop and I would like to calculate an expression only when the index is even for($j=0; $j<=100; $j++){ if ( ){ do the expression } } i.e how do I tell perl to do the if statement when $j is an even number? Thanks

Member Avatar for KevinADC
0
71
Member Avatar for somename

HI guys. Jeezz, perl forum is kind of abandoned ;/ Anyway, maybe some one will have an idea. I want to write a selfkilling perl prog :D Ok, i got a simple prog which shows up a simple tk window with some text in it, to go to the next …

Member Avatar for katharnakh
0
107
Member Avatar for webhostingsmart

Cracker tries to scan ports to find out which of them are open. Because the administrator of computer can enter the hacker's Internet protocol (IP) address into the suspect list, that is why cracker's find , it is wise to conduct scanning from computer other than his own. To this …

0
50
Member Avatar for karthikvela

Hi, Am new to scripting. :) Am trying to figure out whether can i use bash scripting to parse an xml file. Parsing is not just pulling out information according to the pattern but its more of a generic parsing. I should identify the xml hierarchy and pull of information. …

Member Avatar for eggi
0
127
Member Avatar for somename

Hi everyone. I got a total newbe question and i am new to c programming. I want to write a program that will executing commands , written in separate text file. Lets say, in perl i got something like that: [CODE]open (F,"<file.txt"); $x = <F>; if ($x == "2"){ system …

Member Avatar for somename
0
111
Member Avatar for rampicos

#!/usr/bin/perl ########################################################################################## # # # AJAX Cross Domain - ACD # # ---------------------------------------------------------------------------------------# # Full documentation see [url]http://www.ajax-cross-domain.com/[/url] # # ---------------------------------------------------------------------------------------# # Copyright (c) 2007 Bart Van der Donck - [url]http://www.dotinternet.be/[/url] # # ---------------------------------------------------------------------------------------# # For installation procedure, see [url]http://www.ajax-cross-domain.com/#Installation[/url] # # ---------------------------------------------------------------------------------------# # Permission to use, copy, modify, and …

Member Avatar for KevinADC
0
155
Member Avatar for Deooptimomaximo

Hi there, This is a part of a project that i am doing.... the thing is that i want to link MS Excel with internet explorer in a manner such that whenever any page on the explorer opens it highlights the words that are present in the excel sheet.. I …

-1
64
Member Avatar for crwtom

Hi, I'm not a professional computer scientist but have to write a report on a software package. I'm looking for standard terminology for the process/construction of one program generating another program as output which is then run at later time. Obviously, this can be iterated with programs writing programs writing …

Member Avatar for Salem
0
76
Member Avatar for Ravenous Wolf

I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading …

Member Avatar for Ravenous Wolf
0
161
Member Avatar for rysin

How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked.

Member Avatar for rysin
0
137
Member Avatar for PirateTUX

I'm looking for a bit of advice. We're getting to the point in our game development where I need to start thinking how we're going to integrate scripting into the game engine. I was looking at Lua, but am also interested in what Perl or Python might be able to …

Member Avatar for hacker9801
0
130
Member Avatar for rysin

Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents. Code [CODE]#!/usr/bin/perl print "Hello World\n";[/CODE] When I go into the command line and use the perl …

Member Avatar for Uninverted
0
120
Member Avatar for rysin

I have [CODE]#!/usr/bin/perl @line = <STDIN>; print @line;[/CODE] and when I hit control D, control c, or even control z it just ends the program. Im on a linux machine. Any help?

Member Avatar for rysin
0
97
Member Avatar for gadege

Hi, In my case i am updating same SDBM file at the same time by executing multiple programs. In my programs i am using tie function. Here is the code. $db = tie(%FILE_NAMES, 'SDBM_File', $tName, O_RDWR|O_CREAT, 0666) Here i need to put one lock to avoid dead lock situation. Thanks, …

Member Avatar for trudge
0
79
Member Avatar for Alvin Phillips

I got this link e-mailed to me today. I can't tell if it is serious or not (I think it is), but it is pretty funny either way. It's a weekly feature called "Sexy Programmer Thursdays" and it's this person (girl? guy? not sure) who, well, highlights a different programmer …

Member Avatar for sneekula
0
114
Member Avatar for godevars

Here's one I haven't been able to find an answer to. I have 4 arrays: @array1, @array2, @array3, @array4. I ran code to compare the values of 2 arrays to see number of values in common: [CODE]use strict; use warnings; my (%union, %intersect); foreach my $e (@array1, @array2) { $union{$e}++ …

Member Avatar for katharnakh
0
2K
Member Avatar for mank

This code counts number of characters in a single line how can I make it count(give total X Y Z) it in multiple lines seperated by ">" [CODE]while(<IN>) { chomp; my @line = split(//, $_); if($line[0] eq ">"){print @line;} elsif (($line[0] eq "X"||"Y"||"Z")||($line[0] ne ">")) { my %cnter; foreach my …

Member Avatar for KevinADC
0
346
Member Avatar for sjcomp

Hello, I have a project that I can build with a script. I'd like to add version number + release number to my builds. I'm looking for a way to do it automatically. As a result I'd like to get something like that: [inlinecode]\deployment\v1.2.3\some.exe[/inlinecode] When I run exe I'd like …

Member Avatar for sjcomp
0
135
Member Avatar for rayscosmic

Hello i am new in perl scripting.I have to write a script to check for .c file and then go in to the ,c file and find all function and insert line1 after `{` and line2 before `}` or before return( if return is present). Can any1 plz help me …

Member Avatar for KevinADC
0
203
Member Avatar for mimsc

Hi im new to perl..I normally code java...but the boss got me trying to fix this issue... Anyway,we get a news feed that comes in as an xml file...this feed now requires "basic HTTP authentication"...the old feed didint require this , so there was nothing implemented in the code, ...anyway …

Member Avatar for KevinADC
0
100
Member Avatar for sudhagkaran

Hi All I am sudhakaran from Chennai. I am PERL programmer for the past 2.5 years. I hope i can share as well as can get lot of new things with other friends in Daniweb. Expecting good friends to grow together.

Member Avatar for zandiago
0
40
Member Avatar for godevars

I am very sure the code below can be simplified. The exercise was to take a word list, rearrange each word's letter to be in alpha order (e.g. barter = aberrt). The rearranged letter would be the keys and the word be be assigned to that key. Similar keys could …

Member Avatar for trudge
0
151
Member Avatar for devesh9392

Hi guys, i need help extracting e-mail id from the text file can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex. (e-mail id is not always bound to end with .com) here is my text file: ****************************************** IQXpert 27(ID) …

Member Avatar for KevinADC
0
173
Member Avatar for jimesten

Happy greetings to all .. longtime pseudo-techie, mid 40s.. dad of 6, soon to be 7. Mainly a perl and php guy, but have dabbled in everything from teaching assembly to being the ops director of an interactive agency. Now an independent (love the commute to my home office) doing …

Member Avatar for Serunson
0
61
Member Avatar for LODEY

have a bit of an issue trying to obtain some data from a csv file using PERL. I can sort the file and remove any duplicates leaving only 4 or 5 rows containing data. My problem is that the data contained in the original file contains a lot more columns …

Member Avatar for KevinADC
0
153
Member Avatar for davidianstyle

Can someone please tell me what's wrong with this? [code]my $time = "12/Jan/2008:13:38"; my ($day, $month, $year, $hour, $minute) = $time =~ /(\d+)\/(\w)\/(\d+)\:(\d+)\:(\d+)/;[/code] I've tried a hundred different things including not escaping the colons, putting parenthesis around ($time...[regex]), splitting up the assignments to $day = $1, $month = $2, etc... …

Member Avatar for jephthah
0
93
Member Avatar for j.arevathi

Hello all I have been wrting a blast script which results in the following error: [code] the small rnas:CAGCGATGGGGATCAAGCTC the sequnce thats being worked is CAGCGATGGGGATCAAGCTC [blastall] WARNING: Unable to open TCV-jagger.fna.nin [blastall] WARNING: : Unable to open TCV-jagger.fna.nin ------------- EXCEPTION: Bio::Root::Exception ------------- MSG: blastall call crashed: 256 /usr/bin/blastall -p …

Member Avatar for jephthah
0
155

The End.