2,452 Topics
| |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
Currently running Windows XP x64 SP2 The box i'm talking about is the box when you right click on any file and it pops off to the right or left. Example: [url]http://photos-1.getdropbox.com/i/l/GXLhelHd_e8oNpQCFYEc7AsGoc_B23kcDLJ3DgQyTFQ[/url] I have winrar and now drop box that didn't properly add their little features that are usually automatic. … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
I apologize if this post isn't in the right category, but this is the closest I could find to the right category. Anyways, here's my problem: I recently started my own website. I just finished converting my first page into XHTML 1.0 Strict, it displays fine in Safari and Firefox, … | |
hey im new at this and i was hoping u could help me out i have a drive that wont read disks its a ts-h652 its a dvd rom im trying to watch movies burn cd/dvd im running windows xp but the drive came out of a vista cpu so … | |
i need to have a hyperlink on the page having the graph code which, when clicked takes me to another page.. what should i do..please help.... thanks in advance.. :) | |
Hi there here are my system specifications. Pentium D dual core cpu 3.20 ghz 2.0 Ghz of ram. 512 mb video card, nvidia. Geforce 7950 GX2 Western Digital 250 gigs sata Creative soundblaster X-FI Marvell Yukon PCI-E Gigabit ethernet controller. Can't think of anything else you might need. I've been … | |
Hi Guys and Gals.... Could anyone help me with respect to why when this email is sent, the hyperlink in the message doesn't work? [CODE] //send email $to = $myrow['FirstName'].".".$myrow['LastName']."@petrotrin.com"; $subject = "TAIS Application - New Randomly Generated Password"; $from = "TAIS Application"; $msg = "Dear User ".$myrow['FirstName']." ".$myrow['LastName']." (".$empNo."),\n\nYou … | |
#!/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 … | |
I'm developing this game with sockets, server-client connection!! And the problem is I can't put the game work, so many errors along the program, can anyone help me?! It´s urgent.... | |
Hai... How can is actually to adding hyperlinkcolumn in datagarid ? I have 2 forms which are viewtopic.aspx and viewposttopic.aspx. [U]Form_A.aspx[/U] having <asp:hyperlinkcolumn> and datagrid. the hyperlink that auto created supposely will navigate user to Form_B.aspx and display informations based on category. For example, if user click Entertainment, in Form_B.aspx … | |
I am using wireless connection ad-hoc. card 1 is on linux, card 2 on windows xp. No encryption. The connection keeps connecting/disconnecting periodically (period = about 2sec.) On LINUX: iwconfig gives: [CODE]wlan0 IEEE 802.11g ESSID:"local" Nickname:"FC8" Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:E0:01:22:D1:62 Bit Rate=11 Mb/s Tx-Power:29 dBm Sensitivity=0/3 RTS thr:off Fragment … | |
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 … | |
How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked. | |
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 … | |
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? | |
I'm troubleshooting a clients email and hit a block. (Outlook 2003) Whenever I click a hyperlink in the email body, it opens the documents folder. I've searched Msft and no help there. I've looked in Folder Options/File Types for the NONE: URL relationships, and they appear to be correct. Has … | |
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, … | |
Hi Busy putting together my first competent attempt at a PHP/MySQL website, its a real estate package of sorts. I'd like to bring up a brief description of each house (in the DB) initially and when the user clicks on the photo or name etc, they will be directed to … | |
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}++ … | |
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 … |
The End.