News for hackers. Stuff that matters.
Re:Hyperpolyglot: PHP, Perl, Python, Ruby by hippich on Sunday August 14, 2011 @12:06AM (#2882774)
I might be incorrect regarding Perl's "scan" function, but I think you can implement it like this:

  my $s = "foo bar baz";
  my @b = $s =~ /\w+/g;
Granted, this is not a scanf, but neither are PHP/Python/Ruby examples.

There are no comments on this comment yet.