Thanks raider
Can you disble the $main windows instead of the button
Because if you exit the first window, the 2nd one freezes. Knowledge is the first step to Greatness!!!
NO it does not work because i declare the variable in the sub and once you leave to sub the $var is destroyed. Also when trying to load the 2nd window, it cannot detect it because it does not exists yet!!
Thanks but i need this to work ASAP!!
If you can think of anuthing else Knowledge is the...
No it does not work
I dont think you understand what i want
the $safe is to block the loading of the 2nd windows more then once. With your suggestion, if you press ok 5 times, 5 windows will load. The way i did it works fine execpt when you press the X button on the second window and try to...
# this is an example script
#!perl -W
use strict;
use Tk;
my $safe=0;
sub newm {
if ($safe==0) {
$safe=1;
my $newm=new MainWindow;
my $but=$newm->Button(
-command=>sub{$safe=0;$newm->destroy;},
-text=>'OK2',
)->pack;
}
}
my $main=new MainWindow;
my $but1=$main->Button(...
Im having problem with this
the error is on the receiver
cannot print sockets
"Use of uninitialized value in print at D:\re.pl line 18, <GEN1> line 1."
please help me
#!perl -w
# sender
use IO::Socket;
&comunicate;
sub comunicate {
print "Mes :";
my $message = <STDIN>...
Go to the icon of your program (dos based)
right click to get the properties
go to layout and make sure its at 80 width and 25 height
then put it in full screen and that should do the trick
(Had a similar problem and that is how I fixed it, by playing with the layout)
Hope this helps
Knowledge...
I know that
$time=localtime(time);
print $time;
it works and prints the entire time , date ......
1- I would to know how to calculate milliseconds
2- And how to calculate the time lenght of a function in milliseconds (cant seem to quite get it right!)
ex: file scan of entire hard drive (the...
macwill
It looked good but it doesn't work
syntax error
$PmxSaveSettings = $Menu->{SettingsSave}->Checked();
amoung other things!!!! Knowledge is the first step to Greatness!!!
Please help me.
I dont want to go through this.
$rep=<stdin>; chomp $rep;
$rep=~tr/Yy/1/;
if ($reponse==1) { }
I would like to know how to make the script accept only "Y" as its answer. I've been told perl does not recognize letters. I've heard it can be done by something like...
1- Do you have a router or a hub??
2- Make sure that they are all using clients for microsoft network!
give me more details Knowledge is the first step to Greatness!!!
We had the same problem with this
we simply upgraded our novell netware from 3.1 to 5.1 and this practicly did the trick.
Sorry I couldn't be more helpful! Knowledge is the first step to Greatness!!!
Does anyone know where I can get a list of hexadecimal values for every character??
ex: a = 0x23
A = 0xb1 and so...
This will be greatly appreciated! Knowledge is the first step to Greatness!!!
Atually you can modify the registry of the secondary hdd
Even if it is not the one you are using (done it before).
try going in as guest(hopefully yout IT dp. didn't disable it) and you might be able to create another user to log in, make your changes and go back with the original.
Let me know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.