[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01845] Perl ==> Ruby Question

From: "David Douthitt" <DDouthitt@...>
Date: 2000-03-15 17:13:10 UTC
List: ruby-talk #1845
I looked at the archives, but didn't find what I want.  How do I convert this fragment into Ruby?

    ($var1, $var2, $var3) = split(":");

I might also make note that Ruby is actually LESS free-form than Perl - Perl uses ";" as a command terminator; Ruby uses newlines!  So you can't have a multi-line statement without some kind of "continuation" marker, as much as I can tell.


In This Thread

Prev Next