Search results

  1. L

    How do you access structs within structs in perl?

    Hi, I have 2 embededded structs within a struct in perl and need to access these values. Can someone please give me the systax for this? It is similar to: struct a { char value_1; }; struct b { char value_2; } struct Full { struct a; struct b; } What is the syntax in PERL to access...
  2. L

    Perl / Regular Expression Question?

    Hi, I need a perl/regular expression that can find lines in a file that begin with string X and I want to replace the contents after with Y. For example: I want to search for 'System_Identification=' and delete the contents after the = and replace it with my string. For now when I do simple...
  3. L

    Help, Sony Grand Wega tv turning blue?

    Hi, I have a SONY Grand Wega rear projection tv and it is turning a blueish/purple color that originally started in the 4 corners of the TV but is now spreading to cover completely one side of the tv. It is not noticible for all backgrounds but is on some. The TV is about 4 years old. Can...
  4. L

    Need help with a perl problem?

    Hi, I have a perl program that reads in thousands of symbols of the form XXX.XX. I need to add functionality so that it excludes any symbols that end with (.AA .BB .CC .DD). Can someone give me a good regex or perl statement/func that can do this. Something fast would be even better but not...
  5. L

    Need help with a perl problem?

    Hi, I have a perl program that reads in thousands of symbols of the form XXX.XX. I need to add functionality so that it excludes any symbols that end with (.AA .BB .CC .DD). Can someone give me a good regex or perl statement/func that can do this. Something fast would be even better but not...
  6. L

    Perl Script - find line beginning with X?

    Hi, I need some simple logic for a function that is opening a file and looking for a line beginning with IDX. I already have the code to open the file I just need the search part. In english something that says next if(not equal to IDX) Thanks!
  7. L

    Number problem using PERL?

    I am reading in a number and I have to verify that is <= 12 digits in length. If the number exceeds 12 digits then I have to set it to a default value. The problem is that the system internally implies that the number has 4 decimal precision. If the number is entered without 4 decimal...
Back
Top