inblosam has asked for the wisdom of the Perl Monks concerning the following question:
Here's the code around line 805.sub import { my $self = shift; $self->set_properties (\%DOCINFO, @_); ## here comes 472 ## $self->splice_raw ($self->{DOCUMENT}, 1, 1, "\\".$self->{charset}); # --- Insert creation time in Information Group if ($self->{creatim}) { my ($ss, $mn, $hr, $dd, $mm, $yy) = localtime($self->{creatim} +); $yy+=1900; $mm++; my $creatim = $self->add_group($self->{info}); $self->add_raw( $creatim, '\creatim', "\\yr$yy", "\\mo$mm", "\\dy$dd", "\\hr$hr", "\\min$mn", "\ +\sec$ss" ); $self->{creatim} = 0; }; }
Any help or suggestions are appreciated!sub splice_raw # splice a raw value into a section { my $self = shift; my $section = shift; my $position = shift; my $length = shift; ## here comes 805 ## splice @{$section}, $position, $length, @_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unitialized value and splice offset in RTF::Document
by tachyon (Chancellor) on Sep 01, 2004 at 08:06 UTC | |
by inblosam (Monk) on Sep 01, 2004 at 12:02 UTC | |
|
Re: Unitialized value and splice offset in RTF::Document
by rrwo (Friar) on Nov 23, 2004 at 18:38 UTC |