Yes! But It's not as pretty.
#!/usr/bin/perl -w use strict; my @a = 'a'..'f'; #@a[reverse 5..10] = 'A'..'F'; # can you rewrite this line? splice @a, 5, 10-5, reverse ('A'..'F'); print "@a\n"; __END__ C:\test>194289.pl a b c d e F E D C B A
In reply to Re: Re: Re: .. in reverse
by BrowserUk
in thread .. in reverse
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |