Perl - Bit Manipulation

2006-11-12 Thread Dharshana Eswaran
Hi all, I am working on the code below use strict; use warnings; my $hex = "43"; my $binary = unpack 'B*', pack 'H*', $hex; print "$binary\n\n"; my @fields = unpack 'A2A2A4', $binary; my $i; printf "%-4s => %s\n", $fields[$i++], $_ foreach qw/Ext TypeofNumber NumberingPlan/; **OUTPUT**

Re: How to manipulate environment variables in parent process?

2006-11-12 Thread Tom Phoenix
On 11/12/06, siegfried <[EMAIL PROTECTED]> wrote: Is it possible to write a perl script to manipulate the environment variables in a windows CMD.EXE shell? Yes, if the shell allows it, or if you start the shell yourself. I need to change the values of environment variables for the parent pro

How to manipulate environment variables in parent process?

2006-11-12 Thread siegfried
Is it possible to write a perl script to manipulate the environment variables in a windows CMD.EXE shell? Normally, you can manipulate environment variables, but they only have effect for sub processes. I need to change the values of environment variables for the parent process. I have a wi