rsennat has asked for the wisdom of the Perl Monks concerning the following question:
so how to put the data dynamically in a file whose name is genrated during runtime.my $userid = "rsennat"; #assume userid is set to a var my $string = $str1 . "," . $str2; system "echo $string" >> '/tmp/$userid';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: put data in dynamic file
by serf (Chaplain) on Dec 13, 2005 at 09:33 UTC | |
by rsennat (Beadle) on Dec 13, 2005 at 09:37 UTC | |
Re: put data in dynamic file
by davido (Cardinal) on Dec 13, 2005 at 09:39 UTC | |
Re: put data in dynamic file
by tphyahoo (Vicar) on Dec 13, 2005 at 09:38 UTC |