Re: subroutine?

2006-06-12 Thread swayam panda
Hi Ryan, first of all the subroutine defination is Ok but how u will call the subroutine???Through the name right? so sub ([EMAIL PROTECTED], [EMAIL PROTECTED]); is wrong instead u should call the function through it's name like & collect([EMAIL PROTECTED], [EMAIL PROTECTED]); or simply collec

Fw: redirecting array to file

2006-04-17 Thread swayam panda
Hi, @array=(1,2,3,4,5); open(FH,"> path to yourfile") or die can't open the file $!"; print FH @array; close FH; - Original Message - From: "Irfan J Sayed" <[EMAIL PROTECTED]> To: Sent: Monday, April 17, 2006 4:37 PM Subject: redirecting array to file Hi, Can anybody please tell me

Re: Help Required on the Script

2006-04-06 Thread swayam panda
Hi Mazhar, You have to escape @ sysmbol .Inside double quote perl will interpolate the value of @ and it will think @04 is an array so try #!/usr/bin/perl -w use strict; use warnings; my $string="[EMAIL PROTECTED]"; print $string; Correct me if i am wrong Thanks Swayam ---

WIN32::OLE problem while reading the date format

2006-02-08 Thread swayam panda
Hi ALL, I am reading some values from the Excel file by using Win32::OLE,I am able to read all fields bur not able able read if the date is in dd/mm/yy( i.e / slash) .If i am using backward slash then the date is working .Can any body tell me how to read the a date from the EXCEL file

How to Capture Mouse button press

2006-02-07 Thread swayam panda
Hi all, Like winrunner can i be able to record the mouse action and then run it (regression) through perl .Is there any module available in perl? Thnaks in advance Swayam - Original Message - From: "Angus" <[EMAIL PROTECTED]> To: Sent: Friday, February 03, 2006 2:43 PM

Re: How to run a batch file

2006-01-09 Thread swayam panda
HI, for $i (keys %hash) where is %hash ? or it's %sites Swayam - Original Message - From: "The Roopak Times" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 10, 2006 12:54 AM Subject: How to run a batch file Hi All how can i run a batch file by a perl script. i'm also

Re: ^M

2006-01-09 Thread swayam panda
Hi. If u will open the file in VIM u will get the new line character as ^m. Correct me if i am wrong - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, January 09, 2006 3:50 PM Subject: ^M Hallo, I have to process some files with more than 10 lines. At th

Re: maximum int value

2005-12-27 Thread swayam panda
I don't think so - Original Message - From: "Alon Marx" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 27, 2005 5:28 PM Subject: maximum int value Is there a constant or a definition for a maximum number in perl? And the same question for a minimum value? Alon -- To unsubscribe, e

Write to file handle

2005-12-25 Thread swayam panda
Hi All , I am using Win32::SerialPort to read the datas from the serial port .It's working fine .but i want to save (what ever the serial port is reading) to a log file continuously .Can anybody help me how to do .I know that i have open a file like open (*FIL,+>>log.txt) or d

Buffer Overrun Problem

2005-12-25 Thread swayam panda
HI All, I am using win32::serialport module to send one command (hfdial) to the COM1 port .How ever the script is running fine for the first time but when i m trying to run it second time then i am getting a message like baud from configuration: 115200 Buffer Overrun detected resul

win32::Serialport

2005-12-23 Thread swayam panda
HI All, I am using win32::serialport module to send one command (hfdial) to the COM1 port .How ever the script is running fine for first time but when i m trying to run it second time then i am getting a message like baud from configuration: 115200 Buffer Overrun detected result =

DIfference between system and back tick

2005-12-21 Thread swayam panda
Hi All, What is the difference between foreach ( system ls) { if (/1.pl/) { print ;}} Here the output is all the file of the CWD. and foreach ( ` ls`) { if (/1.pl/) { print ;}} Here is output is only 1.pl Please explain this to me Thanks & Regards Swayam -- To unsubscribe,

Re: You've read the Llama, now what?

2005-11-28 Thread swayam panda
Hi There is Saying I See and I Forget I Hear and I Remember I Do and I Understand . Swayam - Original Message - From: "Elie De Brauwer" <[EMAIL PROTECTED]> To: "Paul Lalli" <[EMAIL PROTECTED]> Cc: Sent: Monday, November 28, 2005 5:25 PM Subject: Re: You've read the Llama, now what?

Re: want to install

2005-11-28 Thread swayam panda
In order to use perl bindings for glib, you must have glib 2.x and its prerequisites (pkg-config and a decent standard c library) installed. glib-2.x is available from http://www.gtk.org, http://www.gnome.org, etc. Glib uses unicode internally; therefore this module requires perl 5.8.0 or newer.

Re: want to install

2005-11-27 Thread swayam panda
Hi, Before asking this type of questions try to give us the details.What OS,(Linux,WIN) - Original Message - From: "Chris Devers" <[EMAIL PROTECTED]> To: "Andreas Schroeder" <[EMAIL PROTECTED]> Cc: Sent: Monday, November 28, 2005 6:33 AM Subject: Re: want to install On Mo

how to read write COM port

2005-11-07 Thread swayam panda
Hi , I have installed Perl 5.8.7 on windows XP. How to read from COM port . when i am writing the program like this open( PORT, "COM1" ) or die "Can't open COM1: $!"; my $in=; print "$in" I am getting error msg that permission denied at line 3 Thanks in advance Swayam - Origina

Module

2005-10-27 Thread swayam panda
HI , I want to use Win32: :Serialport module to read from a COM port .I am using the windows XP 2000.Acivestate perl 5.6.I want to know how to download the module . i downloaded teh module but it's in tar format.so i used winzip then i read the readmefile to install that one .but