RE: z/OS unicode problem.

2005-03-02 Thread suresh.pasupula
Hi, May be this is could be useful; Unicode characters have two bytes for each character. Each character has "0x00" following to the each character. You need to remove the "0x00" after each character and then do the Regular Expression matching. my $temp = chr(0x00); $line =~ s/$temp//g; this rem

RE: [Printer Installation]: Problem withy X-64 and IA-64

2004-10-24 Thread suresh.pasupula
Hi, Could anyone help me in this? I need it a bit urgent. Thanks and Regards Suresh -Original Message- From: Suresh Pasupula (WT01 - EMBEDDED & PRODUCT ENGINEERING SOLUTIONS) Sent: Saturday, October 23, 2004 12:25 PM To: [EMAIL PROTECTED] Subject: [Printer Ins

[Printer Installation]: Problem withy X-64 and IA-64

2004-10-22 Thread suresh.pasupula
Hi, I am able to install a printer by running the following command at the command prompt: rundll32 printui.dll,PrintUIEntry /if /b "" /f "" /r "LPT1:" /m "< PrinterModelName>" /z I am able to run the above command successfully and install the printer using "system" command in PERL in X86 machin

RE: [Perl Downloads for Windows OS: IA64 and AMD64]

2004-09-22 Thread suresh.pasupula
Hi Chris, Thanks for the prompt response. Yeah I have tried that before I sent the mail to the perl group. I am not able install perl using the package available in Active State. The package that is available there is only for X86 Platform. It does not allow you to install in 64 bit Platforms.

[Perl Downloads for Windows OS: IA64 and AMD64]

2004-09-21 Thread suresh.pasupula
Hi, I am in need of PERL for Windows OS for IA64 and AMD64 bit Machines. Can anyone of you let me know where I can get the links for downloading? Thanks and Regards SURESH PASUPULA Confidentiality Notice The information contained in this electronic message and any attachments to this messa

RE: Split the line with "|" character

2004-07-06 Thread suresh.pasupula
Hi, Try using in the following way, $DELIM_PIPE = '|'; @data = split /[$DELIM_COMMA]/,$line; or @data = split /['|']/,$line; Regards Suresh -Original Message- From: Wil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 2:39 AM To: [EMAIL PROTECTED] Subject: Split the line with

RE: Backticks alternative?

2004-07-05 Thread suresh.pasupula
You can use in the following way: $exec = "ls -l"; $src = system($exec); -Original Message- From: gohaku [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 9:59 AM To: Perl Beginners Subject: Backticks alternative? Hi everyone, After using backticks to retrieve executable output, I

[Doubt] : Validate Printer Port

2004-06-23 Thread suresh.pasupula
Hi, How to validate the given printer port? I want to know if it is a TCP/IP or local port. If it is a TCP/IP Port then I wan to validate if it exists (Raw port 9100). Also I want to validate the format of IP-Address. Could anyone let me know how can I achieve this? Thanks and Regards

[Doubt]: Retrieve System Info like Which OS and type

2004-06-22 Thread suresh.pasupula
Hi, I need to retrieve the following system Info from the current system. 1. Operating System 2. Localization 3. 32 Bit or 64 Bit I searched but could get only this info "$^O". This gives only MSWINNT but nut much info. Could anyone let me know where can I such info? Thanks and Rega

RE: [Socket Programming]: Need info for Client / Server scenario

2004-05-31 Thread suresh.pasupula
Hi James, Can you suggest me what this POE is? Where can I get info regarding this? Thanks and regards Suresh -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 9:19 PM To: Suresh Pasupula (WT01 - EMBEDDED & PRODUCT ENGINEERING SOLUTIONS)

[Socket Programming]: Need info for Client / Server scenario

2004-05-30 Thread suresh.pasupula
Hi, I need some good links for understanding socket programming (Client / Server programming). I have written some scripts for multiple clients and a server (Forking Server). But I am facing some problems - the server data has to be shared among all the child processes - does this happen wh

RE: [ Hash of Arrays]

2004-05-04 Thread suresh.pasupula
No, I want to use Hash of Arrays. I want to define the hash in a better manner say something similar to the following way. my %ModelPath = { "2800" => [EMAIL PROTECTED], "4345" => [EMAIL PROTECTED] }; But by doing so I am n

RE: [ Hash of Arrays]

2004-05-04 Thread suresh.pasupula
Hi Shawn, Thanks for the quick response. It works fine. $temp = $ModelPath{"1"}; @Array = @$temp; # here I get the copy of "@one" into "@Array". But # can I directly get the copy of "@one" instead of having # it in two steps. Also is there

[ Hash of Arrays]

2004-05-04 Thread suresh.pasupula
Hi, I would like to initialize a hash of arrays and retrieve the contents of hash. For eg. I have two arrays. my @one = ("abc", "def"); my @two = ("ABC", "DEF"); Now I will initialize a hash in the following way. my %ModelPath = {}; $ModelPath{"1"} = [EMAIL PROTECTED]; $ModelPath{"2"

[Free Disk Space] : in Windows using perl

2004-04-22 Thread suresh.pasupula
Hi, Is there anyway to find out "Free Disk Space" in Windows using PERL? Assume I have a function say GetFreeDiskSpace(). I can specify some path as a parameter to GetFreeDiskSpace() and want to get the return value in bytes for available disk. The path can contain "Local Drive Name" or "Share Na