in reply to Re: Recover data from a config file to use them with Selenium::Remote::Driver
in thread Recover data from a config file to use them with Selenium::Remote::Driver

Hi haukex

First, thanks for the reply.I wasn't exceptionally available until now.

Concerning the Array, yes. I can't change conf's file. And it seems to be the good approach. Perfect.

Thanks again and yes it helps

*****Lost in translation****TIMTOWTOI****
  • Comment on Re^2: Recover data from a config file to use them with Selenium::Remote::Driver

Replies are listed 'Best First'.
Re^3: Recover data from a config file to use them with Selenium::Remote::Driver
by haukex (Archbishop) on Jun 02, 2016 at 13:16 UTC

    Hi Chaoui05,

    I forgot to mention another caveat: hash ordering is random, which means that in the sample code I showed the "programs" and "parameters" will lose their ordering. The arrayrefs used in your config file would have maintained their ordering, and if that is important, you'll have to use another method to access the array refs, like walking the array two elements at a time.

    Regards,
    -- Hauke D

      Hi haukex . Thanks for the caveat and the reminder.

      For the moment it's not a problem but you do well to say it me

      Thanks again haukex, i appreciate

      *****Lost in translation****TIMTOWTOI****