CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1499
content-type: text/html; charset=utf-8
last-modified: Tue, 14 Oct 2025 12:37:30 GMT
date: Tue, 14 Oct 2025 12:41:57 GMT
strict-transport-security: max-age=15768000
Re: embedded subs inside subs - nntp.perl.org
Front page | perl.perl6.users |
Postings from October 2025
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Re: embedded subs inside subs
Thread Previous | Thread NextFrom:
Elizabeth MattijsenDate:
October 8, 2025 07:43Subject:
Re: embedded subs inside subsMessage ID:
A4B0C05E-63C6-4070-A2C7-5070CDDDF461@dijkmat.nl> On 8 Oct 2025, at 09:08, ToddAndMargo via perl6-users <perl6-users@perl.org> wrote: > > On 10/8/25 12:01 AM, ToddAndMargo wrote: >> Hi All, >> Redeclaration of routine 'GetEsetInternetSecurity'. Did you >> mean to declare a multi-sub? >> at /home/linuxutil/./GetUpdates.raku:5161 >> I meant to declare the same sub name INSIDE their own subs. >> They are meant to be ONLY be active inside the subs >> they are embedded in and ignored everywhere else. >> Grrrrr...... >> -T > > Never mind. I read something wrong in my code. > > And I am tired and in a rather too crabby mood > to program. It's always good to take a step away from the keyboard every now and then. also: $ raku -e 'r 'sub a() { sub a() { 42 }; say a }; a' 42 so that works fine. Although I would not recommend it, fwiw.Thread Previous | Thread Next
- embedded subs inside subs by ToddAndMargo via perl6-users
- Re: embedded subs inside subs by ToddAndMargo via perl6-users
- Re: embedded subs inside subs by Elizabeth Mattijsen
- Re: embedded subs inside subs by ToddAndMargo via perl6-users
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About