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
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
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
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
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