On Wed, 22 Aug 2001 at 11:32:18 +1000, [EMAIL PROTECTED] wrote: > >From [EMAIL PROTECTED] (Randal Schwartz) 1 Feb 90 22:28:58 GMT > @a=split(/(\d)/,"4Hacker,2another3Perl1Just");shift(@a);%a=@a; > print "@a{1..4}"; 66: %a=("",split /(\d)/,"4Hacker,2another3Perl1Just");print"@a{1..4}"; I *think* this will work with perl 2, but I don't have a copy to hand ATM I have used pad+split in this way for real before now... What *is* the world's shortest JAPH, anyway? I would be disappointed if it were just 'print "...."' Ian
- World's First JAPH Andrew . Savige
- Re: World's First JAPH Randal L. Schwartz
- Re: World's shortest JAPH (was: first) Ian Phillipps
- Re: World's shortest JAPH (was: first) Sven Neuhaus
- Re: World's shortest JAPH (was: first) John Porter
- Re: World's shortest JAPH (was: first) Sven Neuhaus
- Re: World's First JAPH Ask Bjoern Hansen
- Re: World's First JAPH Andrew . Savige
- Re: World's First JAPH Randal L. Schwartz
- Re: World's First JAPH Abigail
- Re: World's First JAPH Ilmari Karonen
- Re: World's First JAPH Randal L. Schwartz
- Re: World's First JAPH Neil Kandalgaonkar