[erlang-questions] why this error?

Michael McDaniel erlangy@REDACTED
Mon May 3 18:15:50 CEST 2010


On Mon, May 03, 2010 at 09:13:56AM -0700, Michael McDaniel wrote:
> On Mon, May 03, 2010 at 10:05:01AM -0600, Wes James wrote:
> > {ok,{Status,Header,Body}}=http:request(URL).
> > ** exception error: no match of right hand side value
> > {ok,{{"HTTP/1.1",200,"OK"},
> > 
> <znip>
> > 
> > What am I missing?
> > 
> > -wes
> > 
> ___________________________________________________________________________
> 
> 
>  presumably you are doing this from the shell, see how this works ...
>  
> 
>  f(Status), f(Header), f(Body), {ok,{Status,Header,Body}}=http:request(URL).
> 
> 
> ~Michael
___________________________________________________________________________

 oh, and  help().  in the shell to see what it is

~M


More information about the erlang-questions mailing list