2,452 Topics
| |
Hello, I am a beginner in perl. I am stuck with a problem. I have an array which looks like this 6.324 32.707 50.379 5.197 32.618 46.826 4.020 36.132 46.259 7.131 38.210 45.919 6.719 38.935 42.270 2.986 39.221 41.892 -0.269 37.184 41.565 `Inline Code Example Here` These are the X, … | |
Hello, i'm interested on learning the PERL language and I do not have any idea on the installation and what really PERL does although i've made research but still confused. Is PERL for the WEB like PHP? or it is like C for creating executable applications?.. I have E-books of … | |
Hello: I am a newbie and need help with a celsius to fahrenheit script. If anyone can help, it would be greatly appreciated. Right now, it comes back with the error Here is my HTML code: <!xxxx.html> <HTML> <HEAD><TITLE>XXXXX Temperature Conversion</TITLE></HEAD> <BODY> <H3>Use this form to convert a temperature.</H3><BR /> … | |
Hi i am new to perl. i just got an error when i exceuted the perl script which is as folows: Day '' out of range 1...31 in C:\..... in line 87 and the code around line 87 is: sub get_unix_timestamp { my ($date,$time) = @_; my $mday = substr($date,0,2); … | |
Hi All Please help me with the following code, it works fine when i enter 1234567890 but goes mad when i enter one more digit i.e 12345678901. It keeps on looping and displays infinitely:- "Invalid Input. Please try again.!!" How can i fix/correct this? Any help will be appreciated! [code=cplusplus] … | |
I'm developing an application that sends emails to customers. The body of the email contains a URL encoded hyperlink back to our site kind of like this: [url]http://myserver/myfolder/test.cfm?id=%409%20%2DW9I74%3D%402%5CN8%2A5%3D%3D5%2D%40%3C%3D%3DQ%5B%40%3AB%5D2Q%2B%2BN%3C44%3A3%3E3%3C%20%0A[/url] In Yahoo, GMail, Outlook, etc. the link works fine. However Hotmail is decoding the link before it sends: http://myserver/myfolder/test.cfm?id=@WUE^[MA6 9J?%3D5B%258D^K5@^%2BD<;5U) '((OZ<,%2BFU%25( Anyone … | |
I've got a Perl program that is returning an incomplete result set. I can output the mySQL call that Perl is executing. In the perl program it gets less records back than if I copy and paste the statement into phpMyAdmin and execute it. Statement Example: SELECT brand,name,collection,dept FROM models2 … | |
Hi i did a shell script. This script is configuration for voip gw's. But i dont upload this output file ( example = ****.ini ) from gw with telnet and commands. how do i need ? This script must be telnet and put confguration mean must read my output file … | |
I'm new in perl although i'm an experienced programmer on the c language and its successors. I learned that perl borrowed some concepts in C so i bothered learning it. i'm trying to solve this palindrome thing. In C we have the isalpha() function which PERL doesn't have. Is there … | |
Hi, As i m newbie for the Perl With Html Button. The scenario is like this: [list]I have HTML button in the perl Script. [/list] [list]I have to get the Data of Enable checkbox Data using the button click event in perl [/list] [list]And I have to copy/cut that Enable … | |
Iam new to perl. This is my problem. I have calculated the distance using the formula my $distance = sqrt(($x2 - $x1)**2 + ($y2 - $y1)**2 + ($z2 - $z1)**2); and the value of $distance looks like this: 3.72851967944384 5.83210433720111 7.12922562414741 10.2322964186931 11.2073015931579 11.882666956538 14.4465118281196 16.0581479006765 17.2278339903773 Now I have … | |
Is there any method to handle minimize event in Tk when minimize button is being pressed, like we handle close with onDestroy(). Regards, Joe. | |
hi, Is it possible to read 2 or more files and getting data out of them simultaneously? can I know the perl format for that | |
Hello, I am trying to open a txt file from a link in a gridview. this is code i have, [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" EmptyDataText="No records found matching your criteria" Font-Bold="true"> <Columns> <asp:BoundField DataField="file_name" HeaderText="File Name"/> <asp:TemplateField HeaderText="Open"> <ItemTemplate> <asp:HyperLink ID="Open" NavigateUrl='<%# Eval("file_name") %>' Text='<%# Eval("file_name") %>' runat="server" /> … | |
hi, Is it possible to generate an output file and print the output to it within the program? So that the program automatically generates a file, where in it prints the output to it. Is it possible for the program to generate two output files and print respective results to … | |
Hello, I don't know any Perl but I do know Java. I am studying about Push down automatas at the moment and wanted to make a simulator for myself. I have found some code in Perl that does it but I do not know how I can go about using … | |
Hello, I have a file with the data as shown below: ATOM 2 CA ARG A 1 6.324 32.707 50.379 ATOM 13 CA THR A 2 5.197 32.618 46.826 ATOM 20 CA ASP A 3 4.020 36.132 46.259 ATOM 28 CA CYS A 4 7.131 38.210 45.919 I am a … | |
Hello, Here's the details: User inputs sentence Program checks sentence for 3 magic words ("chicken", "egg", "rooster") Program keeps count of every magic word found and displays results Here's my code: [code=c++]#include<iostream> #include<string> using namespace std; const string chicken( "chicken" ); const string egg( "egg" ); const string rooster( "rooster" … | |
Hello, I am new to perl, but I would like write a perl script that can convert xyz cordinates from a pdb file to distances using the formula: distance = SQRT[(X1-X2)^2 + (Y1-Y2)^2 + (Z1-Z2)^2] eg: line 1 xyz to line2 xyz line 1 xyz to line3 xyz line 1 … | |
Hi All, I am connecting to Unix host from Windows and using SFTP connection. I am able to connect and do put & get. But I need to do even more. I want to write a function to which I will pass the command and that commands needs to be … | |
Hi !!! This script create folder. I need what this script create and open created folder. What I must add in this script...??! [CODE] @rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl … | |
hai. currently i m using asp.net with vb (2.0 framework). here i have created a gridview and values has been populated. for the column 3,4,5 alone, i want to make the values as hyperlink, so that if user clicks that link it will redirect to a particular page (all links … | |
Hello, I am writing some testing scripts. At the end of each test I may have to return my environment back to it's default state using various subroutines in various modules. I realize that using the END block I can run these subroutines, however I have hundreds of these test … | |
this method on dataNavigateUrFromatSting that i gave it a parameter for the popup() window it doesn't work but it's open with no data but when i gave it just the formname with the datalink its work correctly so how i can pass to it the width and the height and … | |
Where should i look for this answer: Hi, If you don't know the answer if you could please point me in the right direction it would be appreciated. looking to search for more then 1 term at a time with user interaction as shown in the script below. I have … | |
Hi all, I have a html file, i need to extract name , address and phone no. from it. now name is in <span class="name"></span> add is in <span class="list_address"></span> phone is in <span style="display:none" ID="phoneVal11"></span> I have used following code for getting name,add and phone: [code] <?php function get_name($file){ … | |
[COLOR="Green"]like ::: this is for perl script sample.pl a.exe xx xx xx where the last two xxs are the credentials of the exe and 1st xx is the IP of the machine the exe is present[/COLOR] | |
hello everyone, i have a script in which i enter a log file into an array and then i go line by line to search for a line containing "free disk space". once the line is found i want to check if the value is greater than 75. the line … | |
I have to create and run a program that can take any column and row value and print the corresponding number. I think I understand how to do this manually: 1. Initialize row and column ($i and $j). 2. Make sure row/column combination exists, row must be larger or equal … |
The End.