develooper Front page | perl.perl6.users | Postings from August 2022

BEGIN {} question

Thread Next
ToddAndMargo via perl6-users
August 28, 2022 22:58
BEGIN {} question
Message ID:
Hi All,

I am thinking of using

    BEGIN {}

to fire up a splash screen (libnotify).

Question: is what happens between the brackets
isolated from the rest of the code?   If I set
variable values or declare variables, are they
wiped out, etc.?

Many thanks,

If I had a dime every time I didn't know
what was going on, I'd be like, "Why is
everyone giving me all these dimes?"

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About