Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default Slices

    Can I declare from this element to end with an array slice.

    @arary[3...] but this doesn't work?.


    Paul Kraus
    -----------------------
    PEL Supply Company
    Network Administrator
    -----------------------
    800 321-1264 Toll Free
    216 267-5775 Voice
    216 267-6176 Fax
    [url]www.pelsupply.com[/url]
    -----------------------


    Paul Kraus Guest

  2. Similar Questions and Discussions

    1. Would you help me with Slices
      Hi, I was wondering if I could ask anyone's help on something. I've created a website called www.ashliebrillault.net It is the official website...
    2. Hiding slices
      I made a menu which then calls a sub menu on the mouse over using disjointed rollovers. on the sub menu i want to then do another disjointed...
    3. Help with slices
      Hi, I have a few images some are gifs some are jpegs which I have optimized and now I want to put them on my website. Problem: Whenever I try to...
    4. Website and slices
      I need help with slicing layouts. I just need to know how to slice them to where the more content you add, the longer the layout gets. I guess you...
    5. Using duplicate slices
      Hello, I am creating a website that has 6 different landing pages but the pages are all layed out the same. Is there a way to use the slices...
  3. #2

    Default Re: Slices

    Paul Kraus wrote:
    > Can I declare from this element to end with an array slice.
    >
    > @arary[3...] but this doesn't work?.
    You can refer to the last index with $#arary, so:

    @arary[3 .. $#arary];

    Is that what you meant?

    --
    Steve
    Steve Grazzini Guest

  4. #3

    Default Re: Slices

    >
    > @arary[3...] but this doesn't work?.
    What about @array[3..$#array]

    PS: @arary = typo?

    Wolf

    Wolf Blaum Guest

Posting Permissions

  • You may not post new threads
  • You may 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