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 derfloh 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 Cannabishop

  1. Cannabishop

    Regex Confusion

    Okay. Sorry I wasn't clearer. Want I need to do is open any file and eliminate all unneccessary characters. Then I need to split the data into a hash. data sample: Ge1:1 In the beginning God created the heaven and the earth. Ge1:2 And the earth was without form, and void; and darkness was...
  2. Cannabishop

    Regex Confusion

    I am trying to code out some regex's and am getting lost. I am trying to open a file and then count instances of words. I then want to store them in a hash and display them in the following manner ie. the word 'word' appears in the file 11 times. Word => words Value => 11 I...
  3. Cannabishop

    <STDIN> to Hexadecimal

    For the life of me I cannot figure out how to change my input from decimal to hexadecimal. Can anyone (although, it will probably be everyone) help me with the code for this? My exisiting code is below: #!/usr/bin/perl use strict; use warnings; my @line; my $x; my $sum=0; my $num; print...

Part and Inventory Search

Back
Top