setting the screen resolution

2003-08-14 Thread Sachin Hegde
Hi All, This is actually a Tk querry.Can we Set the screen resolution through Perl/Tk ? sincerely, Sachin _ Attention NRIs! Send money home in a jiffy. http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp?type=txt Find ou

entring variables in Hash

2003-08-14 Thread Sachin Hegde
Hi, I want to add an array as an hash entry e.g. %HOA = {one=>"@arr"}; And you're right John I do get the warning Reference found where even-sized list expected at line n. Now how do I remove it? cheers, Sachin _ Are you Unmarried?

Closing window in Perl/Tk

2003-08-08 Thread Sachin Hegde
Hi all, I am writing an UI application inPerl/Tk. I have some functions which I am supposed to run before the application closes. How do I calll this function, say Funct(), when the user clicks on the close icon of the window? Sachin __

Deleting entries in a Hash

2003-08-06 Thread Sachin Hegde
Hi all, How do I efficiently delete all the entries in a Hash of arrays. suppose I have %HOA = { one => [ "a","b","c"], two => [ "x","y","z"], }; I want %HOA = {}; cheers, Sachin _ Attention NRIs! Send money

Can't figure out this warning.

2003-07-30 Thread Sachin Hegde
Hi, There is this warning which I can't remove : Illegal hexadecimal digit ' ' ignored at test.pl line 131, line 23. test.pl is the name of the program while FH is a file handle(read only). Part of my code is: <129> $ln = ; <130> @flds = split(/ /,$ln); <131> if($flds[5] =~ /[a-zA-Z]

Re: Should i use Perl

2003-07-23 Thread Sachin Hegde
Thanks for replyng for my bitwise query. The reason why i need it is, coz I have to design an application which has to parse a file which stores data in hex. By this I meant it is a text file but the contents are to be interpreted as hex numbers Then I have to display the contents in a

Should I use Perl

2003-07-23 Thread Sachin Hegde
Hi all, Thanks for replyng for my bitwise query. The reason why i need it is, coz I have to design an application which has to parse a file which stores data in hex. Then I have to display the contents in a simple User interface. And also provide ways to change the file contents. So I thought I

Masking bits in variables ?

2003-07-23 Thread Sachin Hegde
Hi, I am new in PERL. I wanted to know how to perform bitwise operations in PERL like masking some bits , anding oring bits. Also how to have user interfaces in Perl ? Should I use tools like TK Sachin _ Nagesh Kukunoor's back! Wi