using backticks

2006-10-06 Thread john wright
Hi All, i am getting error "The system cannot find the path specified" while running below lines code. $dirname = "util"; $path = ` cd $dirname ; pwd` print ("$path"); can anybody help me to get output of pwd in the variable $path. Thank

Re: Environment veriable

2006-09-09 Thread john wright
John "Jack Faley ( The Tao of Jack )" <[EMAIL PROTECTED]> wrote: Do these variables change while perl is running? Otherwise you could set the variables in the batch file and have it call perl. On 9/8/06, john wright wrote: > > Hi All, > I want to call vcvars32

Environment veriable

2006-09-08 Thread john wright
Hi All, I want to call vcvars32.bat from perl script and effectively borrow the variables from that batch file. If I use system call, the variables set in the batch file are lost when the execution come out of the system call . Thanks John -

Extract digits from string

2006-09-05 Thread john wright
Hi, I have a data in a variable like $data="book(18614)---book2.2(18616)---book3(18617)---book4(14432) . so on" i want to store all digit value lying between ( ) into an array. $array[0]=18614 $array[1]=18616 $array[2]=18617 ... so on Can someone help please? Thanks

Re: file read problem.

2006-08-10 Thread john wright
Rob Dixon <[EMAIL PROTECTED]> wrote: john wright wrote: > > Rob Dixon wrote: john wright wrote: >> >> john wright wrote: >> >>> I have a text file,which contains following type of data, >>> >>> my $Data = { >&g

Re: file read problem.

2006-08-10 Thread john wright
%$data) " Could you please help me.. Thanks Rob Dixon <[EMAIL PROTECTED]> wrote: john wright wrote: > > I have a text file,which contains following type of data, > > my $Data = { > 'Book1-6'=> { > 'DESCRIPTION' => &#x

file read problem.

2006-08-10 Thread john wright
Hi All, I have a text file,which contains following type of data, my $Data = { 'Book1-6'=> { 'DESCRIPTION' => 'Book1-6', 'URLS1-6' => "http://www.book1.com " .

pack function

2006-08-07 Thread john wright
Hi, Can anyone explain me about below line of code,what will be the output,when i am running this code,i am not getting any output. $val=0x2964; pack ("n", $val); Thanks.. - Yahoo! Music Unlimited - Access over 1 million songs.Try i