2,977 Topics

Member Avatar for
Member Avatar for extemer

hello friends, i am doing my final project in which i have chosen to operate electrical appliances through cell phone in which i am going to use Linux and Perl to connect to cell phone and so on.... i am little stuck in the Perl way,can't figure it out that …

Member Avatar for roswell1329
0
171
Member Avatar for Tony Smith

hi, Hours i've spent looking and the answer still eludes me. I am trying to create a dynamic hyperlink, based on the current page url and information appended from a text entry box ideally using PHP / javascript / iframe. I do not want to reload the page to get …

Member Avatar for diafol
0
240
Member Avatar for senthilamp4

Dear Experts, Here i have bit stuck with logic to create text to CSV file creation. pls help me to this code. Thanks in Advance, Senthil. V [CODE] [U]input file[/U] "OC192-11,OC192:ESS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:SESS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:SEFSS,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" "OC192-11,OC192:CVL,0,COMPL,NEND,RCV,1-DAY,02-11,00-00,1" [/CODE] [CODE] [U]OUTPUT as CSV [/U] ESS SESS SEFSS CVL "OC192-11,OC192:ESS,0", "OC192-11,OC192:SESS,0", "OC192-11,OC192:SEFSS,0", OC192-11,OC192:CVL,0, [/CODE]

Member Avatar for d5e5
0
285
Member Avatar for bioinfo90

Im new to perl and i want a perl script to convert each coordinate file of different proteins(decoys) to pdb file format.this is the script i wrote so far. open (f1, "rep.tra1"); while ($line = <f1>) { chomp $line ; @det+split (" ", $line ); $num= @det; if ($num = …

Member Avatar for d5e5
0
108
Member Avatar for realoneomer

Hi Perl, I am looking for code where i can calculate a first saturday for all even months and first saturday for all odd Months. Moreover i need a code to find a second saturady for all months of the year. Can you please help me out that how i …

Member Avatar for d5e5
0
188
Member Avatar for extemer
Member Avatar for roswell1329
0
138
Member Avatar for amithlaxman

Hi, I have a string like this: [CODE] $string ="datafiles/source/main_data_files/content.csv"; if($string=~/main_data_files\/(.*)\.csv/ig) { print "\n matched-- $1\n"; } [/CODE] I want to retrieve the csv file name i.e [CODE] content.csv [/CODE] I tried with the above code i am getting the result but i want some other better performance matching part. …

Member Avatar for d5e5
0
90
Member Avatar for jacksantho

Hi, I installed Xampp on my server(windows 2003).I am having perl script(i.e cgi program).Inside cgi program, i wants to use HTML HYPERLINK-that should points to my PHP program and plus i wants to pass one parameter to this hyperlink. Is it possible to call PHP script?If is it possible means, …

Member Avatar for jacksantho
0
220
Member Avatar for empyrean

Helo all, I wanted to parse EMBL format like file to fasta. i cannot use bioperl because this is not complete EMBL format. so please suggest me how to get this done.. [CODE] ID 013789-0068 PS TBD OO huringiensis OS ringiensis OX SI 68 RA RL 2010. OKAYAMA UNIVERSITY,JAPAN LAMB …

Member Avatar for thekashyap
0
296
Member Avatar for [V]

I wrote this python script (part of a bigger program) to launch a php script and wait for the output. The PHP script takes almost 15 minutes to run, as it is spawning several perl & C programs of its own. When I launch the php script by itself, it …

Member Avatar for TrustyTony
0
199
Member Avatar for susheelsundar

[I]Hi, Sorry for coming back again and adv thanks for guidance My tutor gave me a assignment, couple of days before he taught me the work flow of java in eclipse, i am getting through it and i was asked to use constructors for the arithmetic operations as methods in …

Member Avatar for yangtao
0
3K
Member Avatar for vr3690

I have a file with the following path :[code] D:/bar/クレイジー・ヒッツ!/foo.abc[/code] I am parsing the path from a XML file and storing it in a variable called "path" in the form of "file://localhost/D:/bar/クレイジー・ヒッツ!/foo.abc" Then, the following operations are being done : [code] path=path[17:] #to remove the file://localhost/ part from the path …

Member Avatar for vegaseat
0
230
Member Avatar for amithlaxman

Hi, I am trying to install module devel::dprof in windows but i am getting this error. [CODE] PPM> install Devel::DProf Install package 'Devel::DProf?' (y/N): y Installing package 'Devel::DProf'... Error installing package 'Devel::DProf': Could not locate a PPD file for package Devel::DProf [/CODE] I have set the proxy also. This is …

0
60
Member Avatar for Bline

I am an retired untrained volunteer who assist a couple nonprofits with their web sites. I could really use some help on a problem I have been attempting to resolve. I am developing an application for one of the sites that generates assignment cards for Football Game Officials from information …

Member Avatar for Bline
0
115
Member Avatar for johng123

i have 4 columns in the mysql database url, showingtext, target want to make a hyperlink from those columns: question: how do i automatically fill the 4th column containing the html hyperlink code question: should i rather string the 3 columns togheter using php, how would one do that sorry …

Member Avatar for johng123
0
399
Member Avatar for google2011

[URL="http://www.herongyang.com/PKI/"][B]PKI (Public Key Infrastructure) tutorial [/B][/URL] This PKI (Public Key Infrastructure) tutorial book is a collection of notes and sample codes written by the author while he was learning PKI technologies himself. Topics include CA, Certificate, Crypt::SSLeay, C#, Digital Signature, Firefox, HTTPS, IE, Java, JSSE, KeyStore, keytool, MMC, .NET, OpenSSL, …

0
62
Member Avatar for benjaminFowl87

Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog …

Member Avatar for benjaminFowl87
0
1K
Member Avatar for Admiral Pimms

Greetings, I'm currently engulfing myself into game programming, and so far I've made a pretty stable library for a 2D-side scrolling shooter. Note that I'm not posting this in the game development due to my issue being more general than game-specific. What I'm experiencing trouble with, is upon deleting an …

Member Avatar for Admiral Pimms
0
430
Member Avatar for jayantpaliwal

Hello All, I am working on GDI+ programming and created a windows form to draw lines by mouse. Here is my sample code. [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace SampleApplication { public partial class frmTest : Form { …

Member Avatar for lxXTaCoXxl
0
552
Member Avatar for whoadiz

I am working on a perl code that reads in a file with various information (example: ID, value A, value B, value C..Value Z) The file values are separated by tabs. I want to only extract the first 3 columns (ID, value A, value B) and output it to another …

Member Avatar for whoadiz
0
83
Member Avatar for realoneomer

Hi Perl Guru's I have a requirement where i need to find out two patterns and second pattern is dependent on first pattern (i.e., if file1 have pattern1 the serach pattern2 in file1). Let me explain in detail. Forexample: I have last three days job logs (Infact logs folder have …

Member Avatar for erezschatz
1
159
Member Avatar for tcollins412

i am writing a login script in a perl and i set a cookie. here it is: [CODE] if ($V::testsubmit eq 'yes') { ($userid)=$dbh->selectrow_array("SELECT id from logins WHERE username='$V::username' and password='$V::password'"); } if ($userid > 0){ @alphanumeric = ('a'..'z', 'A'..'Z', 0..9); $sessionid = join '', map $alphanumeric[rand @alphanumeric], 0..50; print<<"EOF"; …

Member Avatar for d5e5
0
181
Member Avatar for jon.kiparsky

I'm not very well up on ant, trying to learn a few things about it this afternoon. Is it possible to read in values from the command-line ant call? The scenario I have in mind is this: I want to make a generic build file that would have targets for …

Member Avatar for nezachem
0
173
Member Avatar for Tango2010

Hi, I am attempting to read in a CSV file, modify certain arrays and output it into a new file. It works fine on a mac, however on Windows it does not do anything. Any ideas what im doing wrong? Code posted below; [CODE] open(FILE,"file.csv") or die $!; open(TARGET,"> newfile.csv") …

Member Avatar for d5e5
0
347
Member Avatar for amithlaxman

Hi, I have start and end time like this: [CODE] $start = "Wed Apr 27 03:57:21 EDT 2011" $end = "Wed Apr 27 03:58:42 EDT 2011" [/CODE] I need to compute the exact time taken some thing like 2 hours or 1 min. I have to do this with out …

Member Avatar for d5e5
0
3K
Member Avatar for OneDreamCloser

hello all, i am getting the following error when i am trying to run my 1st Perl script: [CODE][id=0 @ 0] : IP address "3.3.3.3" corresponds to device "core". Thread 1 terminated abnormally: Not a CODE reference at ./dev_ithread.pl line 23. [id=0 @ 1] : IP address "5.5.5.5" corresponds to …

Member Avatar for erezschatz
1
449
Member Avatar for hqt

Hi, I want to download multiple files from the server/web to the folder I choose before (I already know the exactly link and know parser), but I don't know how to "download a file" with Perl. So, anyone helps me how to download file with Perl (give me detail about …

Member Avatar for erezschatz
0
120
Member Avatar for Menster

Hi All, I'm having a bit of a problem with a service I'm developing. I have a CGI script sitting on my server (Ubuntu 10.0.4) which obviously receives it's requests on port 80, and the incoming requests arrive on port 8083 which is out of my control. So I have …

0
139
Member Avatar for realoneomer

Hi Perl Masters, I have a requirements where i need to execute the particular part of code in weekdays (from Moday to Friday & Saturday) and some part on (Sunday)but i don't know that how to check the current day in perl. Like if current day is in between monday …

Member Avatar for erezschatz
0
119
Member Avatar for realoneomer

Hi Perl Gurus, I have a text which look like 20 Dec 2010 | Completed | ABC 20 Dec 2010 | Completed | DEF 20 Dec 2010 | Completed | GHI 19 Dec 2010 | Completed | JKL You can see that the file have three columns first column is …

Member Avatar for realoneomer
0
161
Member Avatar for Victoryy
Member Avatar for Sorcher

hello guys! I am looking for a large upload script. A script that can carry files like a movie on 1GB up to my server. # i got the host and the required settings. But i need a script with progress bar etc. I am willing to pay for it. …

0
84
Member Avatar for \007

I am new to forums and enjoying it minus the whole infraction I have been awarded with already. Apparently linking to useful information that was on topic isn't appreciated around here. I am a computer science masters student and a teacher. I hope to learn more by being around like …

Member Avatar for e-papa
0
93
Member Avatar for amithlaxman

Hi, I am using xml:: DOM and Lib xml parsers. The performance of these parsers in how ever slow some times. The data i have is very huge textual data. Is caching mechanism for these parsers are available? what is the best way to speed up these parsers? Any suggestions? …

0
65
Member Avatar for rikjwells

[CODE]Name: Rik Height: 5'8'' Weight: 145-ish lbs probably (I haven't checked in over a year) Hair: Greying brown Eyes: Blue Location: Wellington, New Zealand Year of birth: 1964 OSes: CP/M, Multics, Unix (various), MS-DOS, RSX, VMS, AmigaDOS, Linux (various), Windows (various) IT languages: RPN, BASIC, UCSD Pascal, C, exec-com, Fortran, …

Member Avatar for jingda
0
210
Member Avatar for chris19750

Hello, I'm beginner... I can't solve this. id name address 1 cristine New York 2 murray Redmond 3 kumar Sunnyvale This is 'samples.xlsx' file-Excel type. 'id' string in A1, 'name' in B1, 'address' in C1 column in excel file. Create a Perl script to store the information about student using …

Member Avatar for maba001
-2
141
Member Avatar for terabyte
Member Avatar for vaibhav1983

Hi All, I am developing a perl script using the LWP library to extract all the links from a website. I only am planning to extract the internal links of a website. Now there is a URI class which has a hostname instance variable, which will always extract the domain …

Member Avatar for terabyte
0
114
Member Avatar for abcdef1

How can I turn on debug for fucntion sendSMTP ?? What is the function for var $debug ??? [CODE] #!/usr/bin/perl -w use Socket; use strict; my($mailTo) = 'chuikingman@yahoo.com.hk'; my($mailServer) = 'mail.hgcbroadband.com'; my($mailFrom) = 'medined@mtolive.com'; my($realName) = "chuikingman"; my($subject) = 'Test send_mail'; my($body) = "Test Line One.\nTest Line Two.\n"; $main::SIG{'INT'} = …

Member Avatar for mitchems
0
203
Member Avatar for isumasama

hi all, i have created a crosstab query and one of the row heading contains a hyperlink field. my problem is that the field is not working, and on top of that it gives corrupted values too. pls help thanks

Member Avatar for isumasama
0
186
Member Avatar for terabyte

y/A-Za-z/N-ZA-Mn-za-m/; it is a rot13 script but I don't undestand how it works, what is the y// operator for

Member Avatar for masijade
0
119
Member Avatar for Kiraichi

me and my team working on a project called Stealth Hunter, Summarize about our project: Stealth Hunter is a thief catcher, It will silently take a snapshot of user using a stolen notebook or pc with webcam and send the information via email. how it work is: The scripts will …

Member Avatar for masijade
0
216
Member Avatar for m1234ike
Member Avatar for zisis86

hi! i am totally new in perl and i have a problem..i have a search maschine and after every query i call a perl script to do the jod and see the results. i want every time i run the perlscrit to be able to see a progress bar in …

Member Avatar for senthilamp4
0
85
Member Avatar for OneDreamCloser

hello all, today i am trying to write my first CGI program. so i have a HTML page, a JavaScript program that both work just fine when i run them locally. so, the next step is to run it on an Apache server (locally on MacOSX) and the first example …

0
69
Member Avatar for dejanc

Hello, I'm trying to place select hyperlink, or button to get item details on another page. In DataGrid control it is very easy to do it, I have just add HyperLinkField, and add Url parameter details.aspx?id={0}. I have tried with below code, but of course it is not working, as …

0
72
Member Avatar for parijat24

[CODE]hi there is an interesting problem , as i have almost 500 file in directory ~/work/whole_proteome/analysis_xenopus_takifugu_tetradon/split_result/filtered_domain/big_cluster_fasta_format/, now i want to run a perl script which is present in ~/work/whole_proteome/analysis_xenopus_takifugu_tetradon/split_result/filtered_domain/ORTHOMCLV1.4/ the problem is using os.system(command as it does not take the command properly) [/CODE] [CODE]from sys import * import os import …

Member Avatar for richieking
0
182
Member Avatar for rootseire

Hi, I have been trying to get a select menu to work for hours, and everything is working fine but for one little bit, everytime I select from the jump menu and load the same page again, the menu displays the first result that comes from the database instead of …

Member Avatar for rootseire
0
187
Member Avatar for terranceyaul

i know this is not a new question..but i try follow the solution working out from other post...but there are nothing to print out on my text area...if i directly print a sentence on my text file..it's work..why? #!/usr/local/bin/perl use Tk; use File::Tail; #Main Window my $mw = new MainWindow; …

0
69
Member Avatar for Gaspacho

Hello I need help with perl script I'm writing. we have an input file that contains following: [CODE]variable=value; variable2=value2; . . .[/CODE] However sometimes following thing happens - one of the variable might have its value written in more lines: [CODE]variable=value; variable=value value value value value value ; variable2=value2; . …

Member Avatar for d5e5
0
82

The End.