This is news to me. So are we saying that I do not have to be truly sorry for my sins to be forgiven in the confessional.
On the other hand, if I am truly sorry for my sins, I am forgiven immediately without confession but will need to confess later. Does that mean that I am immediately in the state of grace? So if I was in a mortal sin, a perfect contrition will allow me to go to communion except that I need to go to confession later?
For the baptized Catholic, perfect contrition with intention to confess means one is immediately in the state of grace. Receiving communion is a different matter because the state of grace is not the only factor for reception. For reception, one should also not be barred from communion, not cause scandal through reception (which could happen if one appears to be unworthy to receive, or is receiving in an Orthodox church, for example), believe in transubstantiation, intend to confess, observe the communion fast (as it applies in the situation), and not exceed the allowable number of receptions in a day.
Some Latin cannons are CIC 915, 916, 917, 921.2, 919:Can. 915 Those who are excommunicated or interdicted after the imposition or declaration of the penalty and others who obstinately persist in manifest grave sin are not to be admitted to Holy Communion
Can. 916 A person who is conscious of grave sin is not to celebrate Mass or receive the body of the Lord without previous sacramental confession unless there is a grave reason and there is no opportunity to confess; in this case the person is to remember the obligation to make an act of perfect contrition which includes the resolution of confessing as soon as possible.
Can. 917 A person who has already received the Most Holy Eucharist can receive it a second time on the same day only within the eucharistic celebration in which the person participates, without prejudice to the prescript of can. 921, §2.
Can. 921 §2. Even if they have been nourished by holy communion on the same day, however, those in danger of death are strongly urged to receive communion again.
Can. 919 §1. A person who is to receive the Most Holy Eucharist is to abstain for at least one hour before holy communion from any food and drink, except for only water and medicine.
§2. A priest who celebrates the Most Holy Eucharist two or three times on the same day can take something before the second or third celebration even if there is less than one hour between them.
§3. The elderly, the infirm, and those who care for them can receive the Most Holy Eucharist even if they have eaten something within the preceding hour.
But, see CCEO 712, 711, 707 equivalents for eastern Catholics.