473,549 Members | 2,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl Forum

Perl programming language - ask questions about perl programming, syntax, variables, scoping, constructs, operators and functions, files, I/O, regular expressions, regex, subroutines, OO (object oriented), perl modules, CGI and more.
3
912
thread by: zcabeli | last post Mar 7 '08 by: nithinpes
Hello, i'd like to detect all the lines that their first alpha-numeric word repeats more then once. for example: this line would be 'hits' abc sda asd asd abc aaa bbb ccc aaa aaa thanks,
1
911
thread by: dillipkumar | last post May 19 '08 by: nithinpes
Can anybody say what is the pattern matching for the expression afkmsim1:tkmdssam:/st/dist/msamagt/bin/.................../tk_eb.exe.pl It ends with .pl extension ...... means it may be indefine number of path Thanks
2
909
thread by: rahatekarabhijeet | last post Mar 6 '07 by: miller
$string = <*ls -l*> <*PASS*> <*output of command line 1 line 2 line 3 ... ...*> From string mention above I want ls -l in $1, then PASS in $2,
0
909
thread by: tovenkatesh82 | last post Jul 19 '07 by: tovenkatesh82
HI all, I have writen some perl script to automate some third party web application and i want to generate a log for my perl script.Please post your suggestions on how can i achieve it???
1
906
thread by: jonniethecodeprince | last post Aug 27 '07 by: KevinADC
Hello People. I have a PERL program here written on Open PERL IDE. Is it possible to write 2 versions of a Hash list? Lines 6 to 9 contain the orginal list. Line 10 changes a value from 47 to 35. 6-9 How can I display the orginal list with its values and do the same for the edited hash list?
0
906
thread by: deepakshm438 | last post Jan 6 '14 by: deepakshm438
hii..i am new to perl language and my job where i work is to parse websites for companies urls...but i also have to write scripts for filtering international urls..but its not working.So can anyone suggest me how can i write script which also helps me in filtering international sites from local urls..
0
904
thread by: susinthaa | last post Jun 26 '07 by: susinthaa
Hi, Is there any command in perl to create a file in windows for a specified size?
0
902
thread by: rohitkec | last post Sep 3 '07 by: rohitkec
I have to run a shell script by perl script & intert some echo statements in the function calls of the shell script.I am new to both perl 7shell script ,please help........
0
901
thread by: vic07 | last post Jun 19 '07 by: vic07
hello all I desperately need some help with Perl! I am very new to this programming language, never practiced it before, however where I work I have to write a program that does the following: There are two very large databases one is done on Oracle, the other in SQL server. The overall aim is to report the differences of certain fields in the...
1
893
thread by: hadhemi | last post Jan 16 '07 by: miller
i make a code to treat a file and i want to treat with the same code the files present in one directory. until now i change every time the input file manually can you help me
0
889
thread by: idorjee | last post Mar 14 '07 by: idorjee
hello, i'm trying to get the input from the html textarea into a file or a variable, so that i could than execute with a perl script that i've written. I thought using HTML::Form module would do the thing, but unfortunately i haven't used it before and don't know how it works. --------part of myfile.html---------- <b>Query sequence in fasta...
1
889
thread by: vijayayarraa | last post Jan 14 '08 by: numberwhun
Dear friends, How can we do automatic updation to the local system containing files from internet. Kindly give me the proper answer. earlier u all given reply that ncbi eutils demonstration program but that hasn't given any information about automatic updation. Regards vijaya
1
888
thread by: icemansan | last post Aug 10 '07 by: numberwhun
hi, can any one kindly tell me , the perl cgis files are located in a solaris box --------------------------- thanks in advance san FREE as in FREEDOM thats life
0
884
thread by: girijaJ | last post Aug 6 '14 by: girijaJ
Hi all, I have Cygwin installed and running on Windows machine. I can connect to and send certain commands like "ls","pwd". But when I try to change the directory I am gettign an exception. Here is my code: use strict; use warnings; use Net::OpenSSH; my $host = 'host'; my $username = 'user';
0
881
thread by: alextsg | last post Aug 20 '07 by: alextsg
Hi, I'm trying to create a simple GUI where there are a few radiobutton options and a button. When the button is pressed, the information from the selected radiobutton choices is saved onto an existing notepad file. I don't want to use the save dialog box because I don't want the user to be able to choose the directory or name of the notepad...
0
881
thread by: jrefran | last post Aug 31 '07 by: jrefran
Hi all! I install/compile DBI-1.58 on my solaris box and it was successfully installed but this one is only temporary, I only tried. I execute "perl Makefile.PL", make and so on... My concern is I need to degrade the version to 1.13 as one of the system required it. How to do this? Please help. What's the proper way of removing previously...
2
878
thread by: melocoil | last post Sep 7 '07 by: KevinADC
Hello, i want to sort data by $download .. this is the script: foreach $item (@lines) { ($id_file, $download) = split (/\|/, $item) ; }
0
874
thread by: aurekha | last post Dec 14 '07 by: aurekha
How to Configure Scrollbars to Tk::ROText while creating label widgets in the ROText widget?
2
867
thread by: pavanponnapalli | last post Aug 18 '08 by: nithinpes
hi, my $a = '66.249.65.76 - - "GET /cgi-bin/asp/philo/dkbl/search3t?OUTPUT=DF&OUTPUT=TF&POLESPAN=1&createmonth=December&dbname=barth&word=europ%C3%A4ischen HTTP/1.1" 200 12788 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'; #my $val=2; #my $c = index($a,'"',$val); #print "$c \n"; #my $b =...
0
865
thread by: idorjee | last post Jul 4 '07 by: idorjee
hi guys, here is what i've been trying to do. i have two arrays (@arr1 and @arr2) which i compare and get the difference in them, which work fine. but now i'm trying to get the info (ie, the id of the sequence) from the file that has the difference ('diff_file'),and compare it with the id in the sequence itself (starts with '>') from the...
0
854
thread by: deepuceg | last post Aug 28 '07 by: deepuceg
Hi everybody, I need to extract datas from a page running in JRE with the .aspx extension... Can I use perl to extract the datas from that page... If so can anybody tell how to proceed.... Thanks Deepu
1
854
thread by: pavanponnapalli | last post Aug 22 '08 by: KevinADC
hi, TURNAWAY (type="video" product="opiv" session="foo12345" customer="muco:1234" time="1234567890") CUSTOMER {customer_id="muco:443" name="Yale University"} PLAYBACK (type="audio" product="glmu" customer_id="muco:443" session="muco:foo12345abcde" user_id="muco:123" identifier="muco:123456" publisher="EMI" title="Merengue from Music of...
0
851
thread by: pavanponnapalli | last post Jul 26 '08 by: pavanponnapalli
hi, How can we use variables or packages of one program into another. Say my first program name is First.pl, where i write the code like this: use DBI; use Apache::Request; .................................... .................................... my $a='hai';
3
850
thread by: keerthi485 | last post Jun 20 '07 by: miller
Hi, if the string length is more than 5 then I want to split that string. Ex: str = abcdefghijk; i want it in two seperate words how can i do that???????????? Thanks.
1
847
thread by: rcnasa | last post Aug 14 '07 by: numberwhun
I'm having trouble getting started on a script which iterates through a file and converts .pdf images into .jpg images, and storing the converted files into a new directory. Can anyone help me out thanks.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.