Search results

  1. W

    How to convert from binary to decimal in perl?

    Hello, I was wondering how I can convert from a binary expansion of numbers to a decimal form of a number. I have written code trying to utilize the function shift, but I am unsure what it does. I have searched online for quite sometime to figure it out. As a note, this is not homework, I...
  2. W

    How can I select 160 lines randomly from a text file and print them to another...

    ...using Perl? I have a text file with around 1000 lines of data in the .txt file. I used perl to sort through all the data and parse them. I am having difficulty with the rand function and the srand function. I was wondering if someone would know a good way to program this. I have to parse...
  3. W

    How to combine two files in perl based on first column (WHOI Date stamp)..?

    I have two text files that are set up similarly. The first file has the variables WHOI Date (YYYYMMDDHHHH) (5 spaces), Visibility, (5 spaces), and Present weather coding (either 1 or 2 letters) there are 2700096 characters in both files and 96432 rows in each. Example of File 1...
  4. W

    How can I stream movies to laptops in a Car using VLC and an access point?

    I would like to stream video in my car to 2 laptops and view the movie on my laptop using VLC. Since I am in my car I am not connected to the internet, but can I connect the 2 laptops to the wireless access point and connect the wireless wired to my laptop to stream the video. What is the best...
Back
Top