in reply to Re^3: Dereferencing in blessed object
in thread Dereferencing in blessed object
I suggest you always -- as a matter of routine habit -- order your file with functions first and mainline at the end
Whilst that makes sense, it somehow feels wrong.
Probably because I have always written code with the subroutines at the end. I recall it being a bit of a revelation when I realised that it wasn't compulsory to have them at the end!
An alternative is to leave the mainline first but put a bare block around it
That seems very sensible. It's also something that can be applied to existing code relatively easily.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Dereferencing in blessed object
by eyepopslikeamosquito (Archbishop) on Feb 27, 2021 at 21:26 UTC | |
by Bod (Parson) on Feb 27, 2021 at 22:48 UTC | |
by eyepopslikeamosquito (Archbishop) on Feb 27, 2021 at 23:21 UTC |