1,633 Topics

Member Avatar for
Member Avatar for Jack_9

Does anybody know a good book, are a good website to learn perl. Anything is appreciated.

Member Avatar for 2teez
0
117
Member Avatar for Jack_9

I haven;t even started learning perl yet, I know languages like java, c and python, but is perl even worth learning? I mean it's a preety old language (what am Isaying age dosen't matter, think of how much C is still used) but the thing that I meant is that …

Member Avatar for Hiroshe
0
291
Member Avatar for sai_5

i am writing an automation script in Perl which logs into the server and executes various commands and functions.This Perl script mostly uses "send expect statements and for loops " to run the commands. This Perl script is a back end script which i have written. i have to build …

Member Avatar for Taywin
0
194
Member Avatar for biojet

hi all, I am comparing 2 data: Data 1 has 26 colums that have the information of comapanies and detail of informations. Data 2 has 18 coulums that have the information of peoples. Form the name of people (data 2) I want to make the new data which have all …

Member Avatar for Taywin
0
145
Member Avatar for awahqn

Hi, I have a code in perl that does some mail things and I would like to translate it to perl can someone help me please? I dont know perl so i want it in python so i can edit it. here is the code: #!/usr/bin/perl -w # USAGE : …

Member Avatar for TrustyTony
0
212
Member Avatar for lyleholc

Hi, I’m pulling out my hair getting Apache/Perl to work and would like some help with getting httpd.conf, Windows path, and other setting correct to run some Perl programs. I’ve set alias, Options, AddHandler, etc. but the simple program below gives permission errors. I’m running a Bitnami WampStack on XP …

Member Avatar for Taywin
0
263
Member Avatar for rama.krishna.9003

Hi All, I need a perl script to generate the following Replace value in a column of one file with a value from second file File1 246 0.668 20.644 20.610 0.000 3 U 1.039e+03 0.000E+00 - 0 1673 1676 1663 1662 18 0.816 22.786 24.906 0.000 3 U 1.815e+03 0.000E+00 …

Member Avatar for Dani
0
977
Member Avatar for perly

Hi, I have a 3-column data (below) from excel file. How can I write a perl code to sort all rows according to the first numeric number of a numeric interval and the word "complement" if they appear before the numeric interval as shown in the expeceted output below? Data: …

Member Avatar for Hiroshe
0
244
Member Avatar for badoosan

I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing: #!\xampp\perl\bin\perl use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->cookie("CGISESSID") …

Member Avatar for Taywin
0
260
Member Avatar for Anna123

Dear All , I have a single file, which I need to rearange, The file format is, A1 ID* 3/2 A2 ID 3/3 A3 RM* 2/6 A1 RM 4/4 A2 D* 1/2 A5 D 5/3 A7 T 5/13 I need the output as this ID ID* RM RM* D D* …

Member Avatar for Taywin
0
175
Member Avatar for jensh

I want perl scripts of matching the exact word between text file(.txt) and database(oracle/mysql)... suppose... Data in try.txt file, xyz abc and Data in oracle database is, qid column1 column2 1 xyz cde 2 ifg mno Here matching word is "xyz". If matching found, it will automatically delete the row …

Member Avatar for Taywin
0
213
Member Avatar for Anna123

Dear All, It would be great if someone would help me in rearranging the following file absed on the similarity between the column, My file looks like this, CD79B-GH1 ID* 3/2 CD79B-GH1 ID 3/3 CIRBP-C19orf24 RM 2/6 CIRBP-C19orf24 RM* 4/4 DCAKD-NCL RL 1/2 HMGB2-EHMT2 RL* 5/3 KANSL1-ARL17A IM 5/13 KANSL1-ARL17B …

Member Avatar for Anna123
-1
229
Member Avatar for mitchems

It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible …

Member Avatar for mitchems
0
537
Member Avatar for Anna123

Dear All, I have two files file1 looks like this,the test file ENSG00000000003.10 0 ENSG00000000005.5 0 ENSG00000000419.8 392 ENSG00000000457.8 24 and the GTF file like this, chr1 HAVANA 11869 14412 . + . + . gene_id ENSG00000223972.4 transcript_id ENSG00000223972.4 gene_type pseudogene gene_status KNOWN gene_name DDX11L1 transcript_type pseudogene transcript_status KNOWN chr1 …

Member Avatar for Anna123
0
422
Member Avatar for FelineHazard

Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; …

Member Avatar for FelineHazard
0
384
Member Avatar for Anna123

Dear All, I have two files first file looks like this, ENSG00000000003.10 0 and the second one like this, ENSG00000000460.12 24chr1 HAVANA 11869 14412 . + . + . gene_id "ENSG00000223972.4"; transcript_id "ENSG00000223972.4"; gene_type "pseudogene"; gene_status "KNOWN"; gene_name "DDX11L1"; transcript_type "pseudogene"; transcript_status "KNOWN"; As you see I nee dto comapre …

Member Avatar for Anna123
0
227
Member Avatar for samatha.kilaru
Member Avatar for vivek.vivek

Hello, I have a file as attached. I need to print the lines and count after the pattern "floating" like below. Please help. FEATURE: 4 Line 1 4/17 8:01 Line 21 4/17 8:20 Line 21 4/17 8:50 Line 23 4/17 8:30 FEATURE1: 3 Line 1 4/17 8:45 Line 2 4/17 …

Member Avatar for 2teez
0
171
Member Avatar for narendra75
Member Avatar for 2teez
0
94
Member Avatar for hasvi

Hi I want to call the xml file and I want to change the tag name. here sample coding of get txt file. my $inputtxt=$ARGV[0]; open(TXT,"$inputtxt"); my $txtstr=join("",<TXT>); close TXT; $txtstr =~ s#\n\n#\n#sgi; # print $txtstr; open (OUT,">$inputtxt\.txt"); print OUT $txtstr; close (OUT); I need how to call xml file, …

Member Avatar for class11a
0
223
Member Avatar for Hari_8

Hello Everyone I am struck how to start script in my .txt file i have some of ips and i need to retive the ip and it need to convet into xml file in .txt file ips like his client1-10.1.1.1/24 clientgw1-10.1.1.2 server1-10.1.1.3/24 servergw1-10.1.1.4 client2-10.1.2.1/24 clientgw2-10.1.2.2 server2-10.1.2.3/24 servergw2-10.1.2.4 client3-10.1.3.1/24 clientg3w-10.1.3.2 server3-10.1.3.3/24 …

Member Avatar for 2teez
0
209
Member Avatar for xyciana

Hi, I know the basics of perl and really need a dummies guide (simple steps) to get the following working. I came across the code below and downloaded the Twig.pm and Xpath.pm files into C:\Perl\lib (Windows machine) from CPAN and I cannot get the code to compile. Can someone give …

Member Avatar for 2teez
0
921
Member Avatar for magikman

Hello, I am trying to write a Perl script that searches through a directory on Windows and returns the file names matching a pattern that's stored in a scalar variable. Please find my code below: use warnings; use strict; use Data::Dumper; use MIME::Lite; my @fields; my @files; my $dir="places"; sub …

Member Avatar for 2teez
0
345
Member Avatar for sai_5

i am writing an automation script in Perl which logs into the server and executes various commands and functions.This Perl script mostly uses "send expect statements and for loops " to run the commands. This Perl script is a back end script which i have written. i have to build …

Member Avatar for Lynn_2
0
170
Member Avatar for newperluser

I am new to Perl, I wanted to combine two lines where "ANN" and "QTR" in second column have same date in fourth column (date), otherwise just print line with data which has "ANN" in it. It also skip line where date column is empty: Input data file: I am …

Member Avatar for 2teez
0
139
Member Avatar for arulkumar_1

Input Files: ============ XML ==== <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> Text File ========= some Text<insert>New Text</insert> some Text <delete>some</delete> Text some Text some Text some Text some Text OUTPUT: ======= <para>some TextNew Text</para> <para>some Text</para> <para> Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> …

Member Avatar for arulkumar_1
0
233
Member Avatar for Roya Ahmed
0
86
Member Avatar for realoneomer

Hi, I have a requirement to get all those file names from a directory whose contents mataches with a specific pattern letsay pattern 'ABCDE' Can you please provide me the code to meet this requirement. Thanks

Member Avatar for 2teez
0
160
Member Avatar for giovanni.arrastia

Herro there :) i'm having serious trouble understaning even the basics of regular expressions in perl. im trying to make a rainmeter skin that lets you search google from desktop and parses the first five links, and a picture if possible.

Member Avatar for 2teez
0
162
Member Avatar for SergioQ

I've seen this on a few sites, though I can't think of one right now. I would like my server to be able to get a URL, then take a screenshot (picture) of it. I really hope there is a Perl module for this. Anyone know what I am talking …

Member Avatar for cyberkingz
0
187

The End.