From 75db8f9e63285a2b4a53b8942b805ac2586c5916 Mon Sep 17 00:00:00 2001 From: Sawyer X Date: Wed, 8 Mar 2017 20:58:25 +0100 Subject: [PATCH] Remove dead code from upload example: This is a port of a commit by racke (GH #1329). --- lib/Dancer2/Manual.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index a5b270c89..37d9e9d23 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -1354,7 +1354,7 @@ The objects are accessible within the route handlers using the C keyword: post '/upload' => sub { - my $upload = upload('file_input_name'); # upload object + my $upload = upload('file_input_name'); # upload object $upload->copy_to('Uploads/'); };