Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203477

Re: handling lists in perl

From deloptes <deloptes@gmail.com>
Newsgroups linux.debian.user
Subject Re: handling lists in perl
Date 2018-12-19 20:00 +0100
Message-ID <x6Pex-4at-5@gated-at.bofh.it> (permalink)
References (6 earlier) <x6FoS-6Px-5@gated-at.bofh.it> <x6Fyx-6SG-1@gated-at.bofh.it> <x6Gbf-7lJ-7@gated-at.bofh.it> <x6GkV-7pe-7@gated-at.bofh.it> <x6Nmp-33G-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Andy Smith wrote:

> You saying, "a list B of possible pairings find which pairs you can
> make from the list A" doesn't help when B is actually a hash,
> because hashes have keys and values, so we don't know if you mean to
> "make pairings" with the key or the value, nor is it entirely clear
> what "make a pairing" means. We can guess you mean "is equal to"
> once we know which thing you want it to be equal to, but it's still
> a guess. Why make us guess? Just say "check for equality" or
> something if that is what you mean. :)

+1

and I think he is coming from game theory corner, given the terminology
used.
Anyway as I said in the first comment it is not exactly clear what OP
wanted. Now we know what OP wants, but it is not clear if it makes sense. I
think this example is ill in itself as even now as you say it is not clear
what should happen with the second match of 100 and why 6 should have
precedence over 15.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-18 14:40 +0100
  Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-18 14:50 +0100
    Re: handling lists in perl deloptes <deloptes@gmail.com> - 2018-12-18 20:10 +0100
      Re: handling lists in perl deloptes <deloptes@gmail.com> - 2018-12-19 01:50 +0100
        Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-19 05:40 +0100
        Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-19 06:10 +0100
          Re: handling lists in perl deloptes <deloptes@gmail.com> - 2018-12-19 08:20 +0100
            Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-19 09:30 +0100
              Re: handling lists in perl deloptes <deloptes@gmail.com> - 2018-12-19 09:40 +0100
                Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-19 10:20 +0100
                Re: handling lists in perl mick crane <mick.crane@gmail.com> - 2018-12-19 10:30 +0100
                Re: handling lists in perl Andy Smith <andy@strugglers.net> - 2018-12-19 18:00 +0100
                Re: handling lists in perl deloptes <deloptes@gmail.com> - 2018-12-19 20:00 +0100
                Re: handling lists in perl David Wright <deblis@lionunicorn.co.uk> - 2018-12-19 21:50 +0100
                Re: handling lists in perl Greg Wooledge <wooledg@eeg.ccf.org> - 2018-12-19 22:10 +0100
    Re: handling lists in perl David Christensen <dpchrist@holgerdanske.com> - 2018-12-19 03:40 +0100
  Re: handling lists in perl Greg Wooledge <wooledg@eeg.ccf.org> - 2018-12-18 15:00 +0100

csiph-web