473,540 Members | 11,338 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.
1
1,081
thread by: Starlite | last post Nov 19 '07 by: eWish
Input XML code: <IMPORTANTList> <IMPORTANT> <A ID="pgfId-123"></A> <Normal>-----------------------------------------------------------------------------------------</Normal> IMPORTANT: <Normal>-----------------------------------------------------------------------------------------</Normal> </IMPORTANT> <DIV>
6
1,081
thread by: sasimca007 | last post Dec 13 '07 by: mohanprasadgutta
In perl language can we divide a string into single characters, char datatype or an array of characters as in c. So can u give me the answer friends...Please
6
1,080
thread by: Lastknight | last post Jun 20 '07 by: miller
Hi guys Good morning to all. I have a doubt on how to create a content management system in perl. Need some help.. With regards.. Lastknight.
1
1,079
thread by: jmckinzie | last post May 2 '07 by: KevinADC
I have a website that has source that looks like below. There are three different links to pages that I need to get get data from, along with the main page. However, I only need to do this for specific servers that our group is responsible for. Any ideas? Can someone help? <HTML> <HEAD> <TITLE>Netbackup Failures for last hours</TITLE>
3
1,079
RedSon
thread by: RedSon | last post Oct 25 '07 by: RedSon
Just wondering if you guys have seen this: http://www.thescripts.com/forum/thread727347.html
0
1,079
thread by: sneha9 | last post Jun 3 '10 by: sneha9
Please tell me from to get win32::ole objects such as for microsoft excel it is "Excel.Application" and also for internet explorer it is "InternetExplorer.Application". My question here is for other windows applications such as, Syslog servers, ftp server ... ect, how to get the object name....
3
1,078
thread by: yucan | last post Jan 22 '08 by: yucan
Hello, i am working with Apache / mod_perl on a WinXP system and i have following problem, i have written a perl script which is running like i want. as i want to use parts of it in other scripts i picked the relevant subroutines into a new file in the same directory naming it list_engine.pm and starting with package list_engine; use...
5
1,078
cassbiz
thread by: cassbiz | last post Jul 11 '08 by: numberwhun
I want to create a fun script (LOL) What I want to do is create a script where when you type in a word (each character will have its own input field) it will return a jpg or gif, something like a word scramble. I want to incorporate as many arrays as possible as to not have to repeat the code over and over., ie will give a return with it's...
5
1,077
thread by: dilipkrishna | last post Oct 15 '07 by: KevinADC
hi all.. I have one file which has the following content.. a 1 b 2 c 3 and another file with
5
1,077
thread by: sundarbioinfo | last post Feb 11 '08 by: Kelicula
can any one give a code for spilitting a numerical value randomly from a input file.....
1
1,077
thread by: racshah | last post Apr 23 '08 by: nithinpes
Hello, I just started writing the script to connect to a virtual machine using ftp command in perl. (I am having the Windows OS and the virtual machine has Linux) The code is: Line1: system("ftp 10.58.3.48"); Line2: system("ls -l");
1
1,077
thread by: fifou92 | last post Jul 2 '08 by: KevinADC
Hi, I would like to translate (Encrypte) a code from a variable. This code is made of 3 numbers and substitution must respect a rule according number position. For exemple: If number 1 is the first position in the code, it must be translated to A If number 1 is the second position in the code, it must be translated to B If number 1 is the...
2
1,076
thread by: pavanpolineni | last post Jan 23 '08 by: KevinADC
hi, I want to create a "namedpipe". so, iwant to know how to create a named pipe.and also source code for it.
1
1,076
thread by: thanawala27 | last post Jun 16 '08 by: numberwhun
Hi, My perl scripts run on a unix server which i access from a windows machine. I wanted to copy a file from the local HD to this server. But the problem is, whenever i try to access a file on the local Hd, it dosent allow at all. I discovered that, as the perl scripts are run on a remote machine, it is not possible to access the files...
3
1,075
savanm
thread by: savanm | last post Aug 18 '07 by: KevinADC
Hai... Where to get tcl/tk...and hw to install in windows Navas.M
1
1,074
thread by: csrm7 | last post May 29 '07 by: miller
Hello, I have this following code from a package, package cmgr; sub new{ my $self = {}; $self->{connectionID} = undef; bless ($self); return $self;
4
1,073
thread by: idorjee | last post Apr 11 '07 by: idorjee
hi all, i would really appreciate if you could let me know how i could get just the first row of each of the unique Accession in the tab-delimited file like one below. Accession TC# TCAcc Evalue %ID Score 2005490039 3.A.1.2.9 Q7BSH4 9.00E-18 24.78991597 289 ...
2
1,073
thread by: rohitbasu77 | last post Mar 10 '08 by: rohitbasu77
Does any body have any idea how to write socket program in perl... Thanks in advance rohit
4
1,073
thread by: lilly07 | last post Aug 8 '08 by: eWish
$sth = $dbh->prepare("select count(*) from test where status = 1 and name= '$name"); $sth->execute(); How do I change the above statement so that the variable $name can be avoided inside a prepare statement as it is a vraible. Thanks.
1
1,071
thread by: patelxxx | last post Jul 13 '07 by: miller
Guy's, The sitution is that I have 3 opions or select statements which the user selects and i need to include the AND operator in them, just in case the user selects all three options, how do I do this, I need to include the following in this code below($clause .= " and ";). Currently I'm getting an syntax error when the user selects more then...
2
1,071
thread by: crab68 | last post Feb 4 '08 by: WinblowsME
Hi, I have a datetime field eg (25/01/2008 02:19:35). What I need to do is add 8 hours to this datetime field to give me a new value of (25/01/2008 10:19:35). Can this be done in Perl? Is there any sample script out there. Thanks in advance. Cheers.
1
1,070
thread by: sindhu | last post Mar 6 '08 by: eWish
Hello, I'm having a problen where the images in the fastcgi file are not getting displayed when i open it in the browser. please help me
1
1,068
thread by: tqlam | last post Jan 10 '08 by: KevinADC
I have a text file with Questions and Answers like below. I wrote a script in perl to search a question(s), if match Q's, then print Answers up to End_Q#. Can someone here help me in printing output? Example: User searches for "How to dot this" Then it returns: 1. do this 2. do that 3. and do that
2
1,068
thread by: xiuli | last post Jul 21 '08 by: nithinpes
I am trying to match two patterns in a file and insert a line. If the patterns matche then insert a line after the second matching pattern line. for example, I have the following content in a file: //This is my source file pin(name1) { clock;
1
1,067
thread by: vermarajeev | last post Sep 4 '07 by: KevinADC
Please explain what is happening in the following: my ($salt) = $$input_stream =~ /^Salted__(.{8})/s; What will $salt contain?

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.