my $d = new Date::Business(); ... my $temp_bd=$d;
Here, $temp_bd and $d refer to the same object. Simple assignment in Perl does not copy an object. So if you modify $temp_bd, you also modify $d.
In reply to Re: Resetiing business day
by Corion
in thread Resetiing business day
by bimleshsharma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |