From 3da1dbc86f7f254ae2a6bf6d21707100965e6648 Mon Sep 17 00:00:00 2001 From: trizen Date: Tue, 24 Nov 2015 19:50:48 +0200 Subject: [PATCH] - It's time for 2.11 :-) --- META.json | 4 ++-- META.yml | 4 ++-- lib/Sidef.pm | 2 +- scripts/Interactive/user_input_text.sf | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/META.json b/META.json index 409994400..fb6c5781b 100644 --- a/META.json +++ b/META.json @@ -57,7 +57,7 @@ "provides" : { "Sidef" : { "file" : "lib/Sidef.pm", - "version" : "2.10" + "version" : "2.11" }, "Sidef::Convert::Convert" : { "file" : "lib/Sidef/Convert/Convert.pm" @@ -330,6 +330,6 @@ "http://dev.perl.org/licenses/" ] }, - "version" : "2.10", + "version" : "2.11", "x_serialization_backend" : "JSON::PP version 2.27300" } diff --git a/META.yml b/META.yml index d598cc91f..7269654ce 100644 --- a/META.yml +++ b/META.yml @@ -17,7 +17,7 @@ name: Sidef provides: Sidef: file: lib/Sidef.pm - version: '2.10' + version: '2.11' Sidef::Convert::Convert: file: lib/Sidef/Convert/Convert.pm Sidef::Deparse::Perl: @@ -221,5 +221,5 @@ requires: utf8: '0' resources: license: http://dev.perl.org/licenses/ -version: '2.10' +version: '2.11' x_serialization_backend: 'CPAN::Meta::YAML version 0.016' diff --git a/lib/Sidef.pm b/lib/Sidef.pm index 030b19419..fda33f490 100644 --- a/lib/Sidef.pm +++ b/lib/Sidef.pm @@ -1,7 +1,7 @@ package Sidef { use 5.014; - our $VERSION = '2.10'; + our $VERSION = '2.11'; our $SPACES = 0; # the current number of spaces our $SPACES_INCR = 4; # the number of spaces incrementor diff --git a/scripts/Interactive/user_input_text.sf b/scripts/Interactive/user_input_text.sf index 44bde4e33..5b1d866f7 100644 --- a/scripts/Interactive/user_input_text.sf +++ b/scripts/Interactive/user_input_text.sf @@ -4,8 +4,8 @@ ## http://rosettacode.org/wiki/User_input/Text # -var s = read(String); -var i = read(Number); # auto-conversion to a number +var s = read("string: ", String); +var i = read("number: ", Number); # auto-conversion to a number say s; say i;