I have been using queues in perl with the array data structure using push and shift commands. This works great but now i need to implemnt a prioity queue structure. Which means i cant be using an array anymore, i need to have a linked list. I am not sure how to make a link list in perl. Does...
Have u ever gotten color to work in perl? win32 system.<br><br>example:<br><br>----------------------<br>use Term::ANSIColor;<br>print color("red"),"red color should be here", color("reset");<br><br>---------------------<br><br>here is the output: <br>[31mred color...
Im on a win nt system using active perl. I am having trouble installing cpan modules because i dont have this "mkefile.pl". Does any1 have this or know where i can get this?
i am trying to get a 2d array in a structure. Here is what i am doing which is not working.<br><br>use Class::Struct;<br>struct Puzzel =><br>{<br> board => '@'<br>};<br><br>my $hi = Puzzel->new();<br><br>$hi->board ( ['1', '2' ],<br> ['4', '5'...
i am having trouble with structures in perl. My code gives me errors. Can any1 give me an idea of how to fix the error.<br><br>use Class::Struct;<br><br>struct Puzzel =><br>{<br> board => '@',<br>};<br><br>my $hi = Puzzel->new();<br><br>$hi->board ( ['1', '2' ],<br>...
I am having trouble running 2 perl programs at the same time. I think perl does not allocate separate memory spaces for each instance of perl. My program gets all messed up when i try to run 2 perl programs at the same time. Does any1 have a way aroudn this problem?
I am using perl2exe to convert my perl scripts into executable files. However, when i convert it and run the file it gives me an error on the module that im using. The script runs fine in perlbuilder. Is there something i have to do with modules before using perl2exe?<br>The error is...
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.