Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Resetiing business day

by bimleshsharma (Beadle)
on Sep 08, 2011 at 07:21 UTC ( #924739=note: print w/ replies, xml ) Need Help??

in reply to Re: Resetiing business day
in thread Resetiing business day

Yah, You are right. I found a way to do that. Here is modified code.

use Date::Business;
my %start;
my $n=1;
my $temp_bd;
my $d = new Date::Business();
while ($n <=10)
$temp_bd= new Date::Business($d);
$start{'date'}= $temp_bd->image();
$start{'date1'}= $d->image();
print "\n Date- $start{'date'}";
print "\n Date1- $start{'date1'}";
Just new object had to start with original using method of package instead of assignment operator.

Comment on Re^2: Resetiing business day

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924739]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-02-14 19:59 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls