Rosetta Code/Run examples: Difference between revisions
m
→{{header|Perl 6}}: Update demonstration task to reflect current code
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: punctuation) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Update demonstration task to reflect current code) |
||
Line 951:
{{out}} with command line: '''perl6 RC-run.p6 -q "Determine if a string is numeric"'''
<pre>Retrieving tasks
1) Determine if a string is numeric
Getting code from: http://rosettacode.org/wiki/Determine_if_a_string_is_numeric#Perl_6
Line 957:
Command line: perl6 Determine_if_a_string_is_numeric.p6
Coerce Don't coerce
String whitespace whitespace
Line 976 ⟶ 977:
<0o18> False False
<2+5i> True True
<True> False False
<False> False False
<Inf> True True
<NaN> True True
<0x10.50> True True
<0b102> False False
<0o_5_3> True True
<௫௯> True True
< 12 > True True
<1 1 1> False False
<> True False
< > True False
Done task #1: Determine_if_a_string_is_numeric - wallclock seconds: 0.171
===============================================================================</pre>
Or, if the full %resource hash is loaded it will automatically feed input parameters to tasks that require them:<br>
Line 1,034 ⟶ 1,044:
false
Done task #1: Determine_if_a_string_is_numeric1 - wallclock seconds: 0.15
===============================================================================</pre>
=={{header|Run BASIC}}==
|