develooper Front page | perl.fwp | Postings from April 2003

Re: Fun with Perl, for a change

Thread Previous | Thread Next
From:
Simon Cozens
Date:
April 10, 2003 10:21
Subject:
Re: Fun with Perl, for a change
Message ID:
20030410172057.GA4659@deep-dark-truthful-mirror.pad
Andy_Bach@wiwb.uscourts.gov:
> sub class
> { print "class" }
> sub puts
> { print "puts" }

Way too complex.

> Does it have trouble w/:
> @x = qw(hey ho);
> $x = 2;
> $x[1].class;

perl -MRuby -e '@x = qw(hey ho); $x=2; print $x[1].class'
String

-- 
<evilPetey> I often think I'd get better throughput yelling at the modem.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About