Rosetta Code/Find bare lang tags: Difference between revisions

Content added Content deleted
m (→‎{{header|Ruby}}: Hash.new takes 2 params, not three)
Line 392: Line 392:
part_uri = "http://rosettacode.org/wiki?action=raw&title="
part_uri = "http://rosettacode.org/wiki?action=raw&title="
Report = Struct.new(:count, :tasks)
Report = Struct.new(:count, :tasks)
result = Hash.new{|h,k,v| h[k] = Report.new(0, [])}
result = Hash.new{|h,k| h[k] = Report.new(0, [])}


tasks.each do |task|
tasks.each do |task|
Line 425: Line 425:
1 in PHP (["Greatest_subsequential_sum"])
1 in PHP (["Greatest_subsequential_sum"])
</pre>
</pre>

=={{header|Tcl}}==
=={{header|Tcl}}==
For all the extra credit (note, takes a substantial amount of time due to number of HTTP requests):
For all the extra credit (note, takes a substantial amount of time due to number of HTTP requests):