how can I do something like this with `Try`? : ``...
# arrow
r
how can I do something like this with
Try
? :
Copy code
getURLContent("<http://danielwestheide.com/foobar>") match {
  case Success(lines) => lines.foreach(println)
  case Failure(ex) => println(s"Problem rendering URL content: ${ex.getMessage}")
}