On 03/28/2017 09:25 PM, PYH wrote:
Hi,
what's the better way to write a recursion in perl's class?
sub my_recursion {
my $self = shift;
if (...) {
$self->my_recursion;
}
}
this one?
i am not sure what you mean by better. your code would work if you
finished it w
Hi,
what's the better way to write a recursion in perl's class?
sub my_recursion {
my $self = shift;
if (...) {
$self->my_recursion;
}
}
this one?
thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@per
On 03/28/2017 04:46 PM, SSC_perl wrote:
I could use another set of eyes on this. Could someone please double
check these two sets of conditions and let me know if the first is equivalent
to the second? I believe they are, but I don’t want to take any chances.
# Both of these should
I could use another set of eyes on this. Could someone please double
check these two sets of conditions and let me know if the first is equivalent
to the second? I believe they are, but I don’t want to take any chances.
# Both of these should be equivalent.
$out->{$field} =~ s/``/\r/g