Professional Web Applications Themes

garbage errors when number of characters in script exceeds somenumber - PERL Beginners

I wrote an application last week and when I attempted to compile it on both a sun and pc using perl5 I keep getting garbage error message when the character count of the source was greater than about 16,000 characters. If I went into the source and removed white spaces to reduce the character count below this point the compile would work fine. But as soon as I added additional functionality that increased the character count above some magic number I would start getting these garbage error messages until I deleted more white space. The application works but the source ...

  1. #1

    Default garbage errors when number of characters in script exceeds somenumber

    I wrote an application last week and when I attempted to compile it on
    both a sun and pc using perl5 I keep getting garbage error message when
    the character count of the source was greater than about 16,000
    characters. If I went into the source and removed white spaces to reduce
    the character count below this point the compile would work fine. But as
    soon as I added additional functionality that increased the character
    count above some magic number I would start getting these garbage error
    messages until I deleted more white space. The application works but the
    source is very had to read with no indenting and no comments.

    Ken Guest

  2. #2

    Default Re: garbage errors when number of characters in script exceeds somenumber

    Ken Rearick wrote: 

    Write less code? Partition it? Actually, this is one you may want to
    post to P5P <org>

    Randy.
    Randy Guest

  3. #3

    Default Re: garbage errors when number of characters in script exceeds some number

    I discovered last night that if I eliminate the switch statements the
    problem go away. This morning I also tried moving the use switch in side the
    if blocks containing the switch statements. This also eliminated the
    problem.


    "Ken Rearick" <edu> wrote in message
    news:perl.org... 


    Ken Guest

Similar Threads

  1. pattern matching binary or garbage characters in string
    By Christopher in forum PERL Beginners
    Replies: 4
    Last Post: July 1st, 02:54 PM
  2. #25521 [Fbk->NoF]: corrupt output - garbage characters returned
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: September 29th, 10:00 AM
  3. #25521 [Opn->Fbk]: corrupt output - garbage characters returned
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: September 23rd, 07:32 AM
  4. Replies: 0
    Last Post: July 16th, 01:13 AM
  5. Replies: 0
    Last Post: July 16th, 01:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139