[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Obfuscated Perl AI (was Re: [FWP] a thought had while...)



On Thu, Jul 01, 1999 at 10:10:38PM +0100, Adam Sampson wrote:
> But how come you can say 
> 	.=$".
> for
> 	.=' '.
> but not
> 	split$", 
> for
> 	split' ',
> (having tried both)?

split ' ' is magic; it requires a constant string for the magic to happen.
$" contains ' ' by default, but it's not constant, so no magic.
(I tried both too. :)

Ronald

==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org