Search Results

Search: Posts Made By: djzort
Forum: Programming 08-03-2012
1,431
Posted By djzort
You can use 'while' while (my $line = ) { #...
You can use 'while' while (my $line = ) { # do something with $line } I want to post a link to the perldoc website with all the details, but this forum wont let me. if you have perldoc...
Forum: Programming 08-03-2012
1,431
Posted By djzort
You may be better off posting this sort of...
You may be better off posting this sort of question in perlmonks.org?

@bar = map {} @foo; is a loop as you know. You can have a counter like this


my $cnt = 0;
@bar = map { $cnt++; $_ . $cnt...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy