[rabbitmq-discuss] erlang program init get_argument problem
Michael Klishin
mklishin at gopivotal.com
Fri Feb 21 09:55:37 GMT 2014
On 21 Feb 2014, at 13:48, PONMUTHU M <ponmuthu at omnesysindia.com> wrote:
> while get runtime command prompt variable via init:get_argument(name).
>
>
> i want to get a list . but in that " " are added while getting & assign
> to a varaible
>
>
> % erl -mylist [1,2,3,4]
>
>> {ok,[[List|_]|_]} = init:get_argument(mylist).
> {ok,[["[1,2,3,4]"]]}
>> List.
> "[1,2,3,4]"
This is not a general Erlang questions list. Please use to
http://erlang.org/mailman/listinfo/erlang-questions
MK
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list