← Back to team overview

mvhub-dev team mailing list archive

Re: lp:~himabindu-sanagavarapu/mvhub/ADD_HEADER_TO_MISSING_FILES into lp:~mvhub-commit/mvhub/trunk

 

> Dan> You are not appending (putting something at the end) you are prepending
> Dan> (putting something at the start)
> 
> H> I din't understand your intention well.I am adding headers at
> H> the starting of file not at the end.Please clarify If I am wrong
> 
> You say stuff like:
> 
>   my $append_license="#LICEN
> 
> ...
> 
> +#It loops for each keyword in \@keywords
> +#If there is no string in file,appending header to those files
> 
> It is slightly confusing to say "appending header" when you are in fact
> prepending.

This confusion seems to stem from your vocabulary.  The definition of append is to add to the very end.  What Dan is saying is that your variable name $append_xx is misleading, since you are not adding to the end of the file. You should probably use the name $prefix_xx, $prepend_xx, or $insert_xx instead.
Please note that you are indeed adding headers to files, but Dan preferred that you do not use the word "append" when you mean prefix.  Prefix means to add something to the beginning, and prepend is a word created to be the opposite of append.
-- 
https://code.launchpad.net/~himabindu-sanagavarapu/mvhub/ADD_HEADER_TO_MISSING_FILES/+merge/33944
Your team MVHub Developers is subscribed to branch lp:~mvhub-commit/mvhub/trunk.



References