473,608 Members | 1,811 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.
6
2,632
thread by: shyam raj sunka | last post Mar 21 '12 by: shyam raj sunka
how to read the sms from simcard which is present in the GSM MODEM and sending the that sms as an email to the outlook express user email-id..? plz note that no Internet is used in this application i am very new to perl.. and doing my academic major project on this (SMS to Email conversion) so plz kindly help me...
9
10,070
rajiv07
thread by: rajiv07 | last post Mar 23 '12 by: Terry Bridges
Hi to all , Is any Perl module for converting number to word Ex. 1-one 2-two Is any idea please. Thanks.
1
1,568
thread by: RdKodes | last post Mar 26 '12 by: numberwhun
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <meta name="collection" content="exclude"> <!-- Generated by javadoc (build 1.4.2-rc) on Fri Jun 13 00:13:32 PDT 2003 --> <TITLE> All Classes (Java 2 Platform SE v1.4.2) </TITLE>
2
1,751
thread by: Terry Bridges | last post Mar 26 '12 by: numberwhun
Hello all! WHile I am new to perl, I have 30 years in other programming languages from line-number Basic through VFP. Here's my problem: I have an HTML page that successfuly passes a variable to my perl script, which then (again successfully) passes a string back into HTML. Using the examples from various perl tutorials, the output of the...
2
2,051
thread by: RdKodes | last post Mar 26 '12 by: RdKodes
I have "http://finance.yahoo.com/q/ks?s=TLM" stored in a variable. $Link= "http://finance.yahoo.com/q/ks?s=TLM"; Now, I would want to create a folder and save this page in that folder. Example: Dir/Folder/FileName How do I do it in Perl?
5
8,936
thread by: Anuja T | last post Mar 28 '12 by: numberwhun
I have to compare values of two excel sheets cell by cell. can anybody suggest me how to do it? In advance Thanks.
2
3,807
thread by: sabie | last post Apr 6 '12 by: numberwhun
Hi, I just cant find wats wrong in this tiny piece of code. All I want to fetch the number associated with a key in the hash. The key has to be entered my user during execution. Here is the code: #!usr/bin/perl #chap3ex3.pl use warnings; use strict;
1
1,399
thread by: shyam raj sunka | last post Apr 9 '12 by: numberwhun
suppose a variable is having the fallowing data $var=data1 string data2 data3 etc... now i am unable to retrieve only data1 using split(i.e.,i want to seperate the variable based on the string present in the above line)... is there any other method plz help me...
1
1,677
thread by: AngelBladeVII | last post Apr 11 '12 by: RonB
So I'm working on a program where I need to parse multiple XML files and return their attributes in a readable format. Currently the script parses all of the files and stores all the details for each file at each position of an array. An example of the desired output for each line would be: J MIG-49 at location "85,20,0.1" is moving to...
1
7,118
thread by: perlrmhu | last post Apr 13 '12 by: sathishkumar88
I need to print files in a Windows directory by file creation time, not by file name. I am using the Net::SFTP::Foreign. I tried to use "ordered => 2" on $sftp->ls but the files are still printed by file name. I really appreciate if anyone can help. Below is the code. $sftp->ls('myDirectory', ordered => 2, wanted => sub { if (...
1
1,803
thread by: Anuja T | last post Apr 13 '12 by: Anuja T
HI!, i am comparing two excelsheets, 1.one of which contains the data exported from database and 2.one which i will download from application. The excelsheet which i am going to get from application will be in .csv format. and the data from the database will get exported in excel will be in .xlsx format.
0
1,835
thread by: Anuja T | last post Apr 14 '12 by: Anuja T
Hi, I am dealing with running macros through perl. i have following script to do the same which is working fine.Now what i have to do is to make one .xlsm (macro-enabled file)which will contain all the needed macros. and i need to call that macros from another .xlsx file. I am trying to give path in that RUN() rather than macro...
1
1,676
thread by: Mukes | last post Apr 23 '12 by: johny10151981
What code is necessary to have PERL send to the mail server the RMS (Rights Management Service) option to “Do Not Forward”? This options allows for the message to be distributed to a set number of users and distribution lists, but does not allow the recipient to forward the message to any user or community.
0
1,209
thread by: Manjini | last post Apr 26 '12 by: Manjini
I would like to search and replace an xml file with the ini content, but i am getting incorrect answer in my bb.xml with the same regular expression syntax without replacement. My ini file ----------- myPara para lPara last_para <mySeca>(+). <sec id=\"$1\"> My XML file. -----------
2
2,802
thread by: andreslee8 | last post May 1 '12 by: RonB
Hi, I have a problem on connect to MYSQL database. Below is my code: use strict; use warnings; use DBI; my $dbh = DBI->connect('DBI:mysql:MYDB', 'andres', '123' ) || die "Could not connect to database: $DBI::errstr";
1
2,668
thread by: dillipkumar | last post May 2 '12 by: RonB
Hello All, I am using SUN Solaris & written a perl script. I want to convert the perl script into exe file. Can anybody tell me the procedure how to convert the perl file to exe file. Thanks
0
1,867
thread by: Anuja T | last post May 3 '12 by: Anuja T
Hi! I am automating one web application using perl and selenium which works irrespective of browser. As the selenium is built to work entirely on web technology,it can not handle dialog box or save as window. so autoit is the tool which can be used with perl to handle dialog box. Here is the autoit script which handles dialog box. f...
1
2,822
thread by: skyline88 | last post May 4 '12 by: RonB
Hi Guys, I would like to skip a line from my database.... this is how the line starts: A.SERIAL_NUMBER||' I'm using the following code, but it doesnt seem to work, what am i doing wrong?ps. i want to ignore this line and let the data to be added to the database........ if(substr($data,0,length("A.SERIAL_NUMBER||")-1) ...
1
2,379
thread by: anandmadhu | last post May 7 '12 by: anandmadhu
I am using the following code to create an excel file on the share on the remote win2007 professional. use Win32::OLE qw(in with); use Win32::OLE::Const; use Win32::OLE::Variant; use Data::Dumper; use Win32::NetResource my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application','Quit');
1
2,464
thread by: gfzFabian | last post May 8 '12 by: gfzFabian
Dear PERL friends, would be very grateful for a solution: I want to hand over arguments to a .dll function per reference but seem to fail somehow. I have self-explaining (hopefully) comments in the code. Thanks again, Fabian
1
1,594
thread by: sindy90 | last post May 15 '12 by: numberwhun
Hi I have a perl script placed in the server! i would like to know as how i will b able to access it from my mobile phone and run on my mobile phone! please do help! Thanks in advance! Regards sindy90
0
1,438
thread by: umasamy | last post May 17 '12 by: umasamy
Hi dude, I want to compare 2 xml files.Initially, I had used SemanticDiff module then i didn't get any problem.Its, work fine.While I was included special char in xml file like &=!,etc.,which give me an error like..(invalid token....) Anyone give me solution for my query. Thanks, UMA
1
3,251
thread by: Elizabeth H | last post May 18 '12 by: pawanrpandey
I wanted to grep the IP address from this following exception. What is the easiest way to do this? "var=something.something.somthing.Exception : The IP xx.xxx.x.xxx cannot be used" I want to grep the IP address from this string and store it in a different variable. Do i just use the regular regex pattern to grep an IP address or is there...
1
1,766
pawanrpandey
thread by: pawanrpandey | last post May 19 '12 by: pawanrpandey
Hi, I have to modify and use parallel processing for a large and complex system which is implemented in Perl. Each child process or threads are supposed to use memory around 1 GB each and will run for around 1-3 hours on Solaris Server. My question is - what is your recommendation - use of ithreads or multi processing using fork(). 100s of...
0
1,530
thread by: GBR20 | last post May 22 '12 by: GBR20
Hi All: I am new to Perl. I need to open a XML file and add few data in it using PERL. Could you please help me? XML File: <?xml version="1.0" encoding="ASCII"?> <componentmanifest.application:ApplicationConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...

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.