Hi All, Thanks a lot for the advice/help. I think it would be better to avoid using this feature :)
Regards, Pavan On 9/11/07, Jeff Pang <[EMAIL PROTECTED]> wrote: > > 2007/9/11, Pavanvithal Torvi <[EMAIL PROTECTED]>: > > > > > > I wanted to ask others if this is expected behaviour. > Yes. > > > If I make use of this feature will it cause compatibility issues with > the > > later versions of perl. > > > > Please don't use $a and $b as variable names,they are built-in > variables used by `sort` function.see `perldoc -f sort`. > > Also your codes could be re-written simply, > > my $x = "one/two/three/four/five"; > my ($c,$d,$e,$f,$g) = split/\//,$x; >