Re: [OT] Can't redirect before fork().

2006-07-03 Thread Danijel Tasov
t;IGNORE"; > my $child = fork(); Where is the redirection code? -DaTa Danijel Tasov <[EMAIL PROTECTED]> -- Maybe I'm a little bit crazy, but I can't de

Re: Problems creating a simple variable

2005-07-22 Thread Danijel Tasov
f. But just another hint: #!/usr/bin/perl use POSIX(); $currentdate = POSIX::strftime("%Y%m%d", localtime(time)); print $currentdate."\n"; __END__ -DaTa Danijel Tasov

Re: need help with a bug

2002-11-19 Thread Danijel Tasov
On Tue, Nov 19, 2002 at 11:34:24AM -0500, Sam Harris wrote: > I hve the follwing lines which are ginving error on line 1, please help > , thanks Do you want to tell us which error is shown? bye, Da.Ta. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Grab last line like `tail'

2002-12-01 Thread Danijel Tasov
Harry Putnam wrote: > Is there a perl equivalent to the unix `tail' command? Where I could > grab the last line from a file without having to read the whole file? There is the module File::ReadBackwards; # perl -MCPAN -e 'install File::ReadBackwards' $ perldoc File::ReadBackwards; bye, Da.Ta

Re: does perl have boolean variables?

2002-12-04 Thread Danijel Tasov
On Wed, Dec 04, 2002 at 04:38:51PM -0500, Ken Lehman wrote: > I can't say: > > #!/yadayada/perl -w > use strict; > > $seen = true; In Perl everything but "", 0, "0", undef, () is true. Use: $seen = 1; if $seen has to be true, and $seen = 0; if $seen has to be false. bye, Da.Ta. smi