Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by oinkers

  1. oinkers

    mapping network drive in solaris

    im a newbie in using solaris, how do i map a network drive from the solaris machine to an NT machine? Please help.
  2. oinkers

    priority queues

    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...
  3. oinkers

    goBoating help me! perl color question

    ya i had a feeling that the ansi color was not supported in dos. The system call changes the entire screen. But it doesnt change just the part of the text that i want. I think we are fighting a lost cause here. hehe. But thanks for the help.
  4. oinkers

    2d-array in struct..please help!

    your awesome. That really helped. It works!! you wont believe how much of a headache ive been having trying to get this to work. Thanks a lot.
  5. oinkers

    cpan module installation

    the ppm.pl seems to work. But when i try to install the package, it says that it couldnt locate a ppd file for the package. I downloaded the package right from cpan.
  6. oinkers

    goBoating help me! perl color question

    Have u ever gotten color to work in perl? win32 system.<br><br>example:<br><br>----------------------<br>use Term::ANSIColor;<br>print color(&quot;red&quot;),&quot;red color should be here&quot;, color(&quot;reset&quot;);<br><br>---------------------<br><br>here is the output: <br>red color...
  7. oinkers

    running another program

    Are u in the right directory when running the program?<br>I tried spawning a child process and it worked for me.<br>like:<br><br><br>chdir('c:\program files\perl builder');<br>system('pbuilder.exe');<br>
  8. oinkers

    cpan module installation

    Im on a win nt system using active perl. I am having trouble installing cpan modules because i dont have this &quot;mkefile.pl&quot;. Does any1 have this or know where i can get this?
  9. oinkers

    2d-array in struct..please help!

    something else i just noticed about the struct is that i cannot store strings. The only thing it allows me to store are numbers. There must be someone out there who used struct before. Please help.
  10. oinkers

    2d-array in struct..please help!

    o no .. by all means i didnt mean to make it sound so offensive... hehe.. any advice i get is better than none.. so thanks for your time.
  11. oinkers

    2d-array in struct..please help!

    thx for the input.. but i already know how to use a normal 2d-array. The biggest problem is putting this 2d array in an object. I need to use objects for my program becuase i will need to put these objects in a queue. The example in my perl cookbook does not compile. It always tells me i have...
  12. oinkers

    2d-array in struct..please help!

    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 =&gt;<br>{<br> board =&gt; '@'<br>};<br><br>my $hi = Puzzel-&gt;new();<br><br>$hi-&gt;board ( ['1', '2' ],<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;['4', '5'...
  13. oinkers

    How can i remove one line from file ???

    first save the line to a variable like $line. Then<br><br><br>$line =~ s/data1¦data1¦data1¦data1//;<br><br>This will substitute that line with nothing, thus making ur line disappear.<br>
  14. oinkers

    structs in perl

    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 =&gt;<br>{<br> board =&gt; '@',<br>};<br><br>my $hi = Puzzel-&gt;new();<br><br>$hi-&gt;board ( ['1', '2' ],<br>...
  15. oinkers

    2 instances of perl

    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?

Part and Inventory Search

Back
Top