ME wrote:
> You want to print out array elements 0 (for the ID), 3 (branch),
> and -3 through -7 (address), at least I think that will work.
>
#!/usr/bin/perl -w
use strict;
while (<>) {
@fields = split / */;
for (my $i = -1; $i > -9; --$i) {
print $fields[$i] . "\n";
}
}
Q What does " use strict " do please!
Q IS this what you want me to change it to
for (my $i = 0; $i > -3; $i > -7) {
PS. not able to get access to the manpage.
Thanks.
Kind Regards,
GD
- Re: PROGRAM! Me
- FW: FW: PROGRAM! Govinderjit Dhinsa
- Re: FW: PROGRAM! Me
- Re: FW: FW: PROGRAM! Gary Stainburn
- Re: PROGRAM! Govinderjit Dhinsa
- Re: PROGRAM! Me
