RE: how to display commands while perl script executing

2012-05-15 Thread Sunita.Pradhan
It is working for one line program . How can we implement in a script ? -Sunita -Original Message- From: CloudWebDNS.com [mailto:supp...@cloudwebdns.com] Sent: Tuesday, May 15, 2012 5:27 PM To: beginners@perl.org Subject: Re: how to display commands while perl script executing Hello, T

how to display commands while perl script executing

2012-05-15 Thread Sunita.Pradhan
Hi I want to print the command during script execution . Example : === $ls = `ls`; Print "$ls\n"; == In the above script I want to print "ls" command before 'ls' command gets executed . Like "set -x" does in shell scripts . Could you please

multiple pattern matching

2012-03-08 Thread Sunita.Pradhan
Hi All I have one output of one my command like : $output = "Step 155 of 171 steps.Executing. Step 168 of 171 steps.Executing. Step 171 of 171 steps.Executing. Local: COMMIT...

RE: work with hexadecimal values

2012-03-08 Thread Sunita.Pradhan
Sorry , I mean how will I get all those hexadecimal numbers in a array? -Sunita -Original Message- From: sunita.prad...@emc.com [mailto:sunita.prad...@emc.com] Sent: Thursday, March 08, 2012 9:48 PM To: jwkr...@shaw.ca; beginners@perl.org Subject: RE: work with hexadecimal values Than

RE: work with hexadecimal values

2012-03-08 Thread Sunita.Pradhan
Thanks John . How can I collect all devices in a array ? -Sunita -Original Message- From: John W. Krahn [mailto:jwkr...@shaw.ca] Sent: Thursday, March 08, 2012 7:11 PM To: Perl Beginners Subject: Re: work with hexadecimal values sunita.prad...@emc.com wrote: > Hi Hello, > I have one r

work with hexadecimal values

2012-03-08 Thread Sunita.Pradhan
Hi I have one range of hexadecimal numbers like : 415A till 415F . I need to find all other numbers between this 2 . Is there any Perl function which will help to find all numbers or any other way in Perl ? Thanks Sunita

issue with perl map function

2011-12-02 Thread Sunita.Pradhan
Hi All My array @sympd_list has following lines : /dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW 500 /dev/sde 0BE1 07F:0 07A:C0 Unprotected N/Grp'd RW 500 /dev/sdf 0BE2 07F:0 08D:C0 Unprot

issue with perl array code

2011-12-01 Thread Sunita.Pradhan
Hi All I have following code set of code which will have a subroutine which has 2 parameters. The first parameter (VALUES) is a reference to an array of non-sorted, hex strings. The second parameter (RANGES) is a reference to an array that is empty. The subroutine should f