DonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 1 year agoThe difference between an instance variable and a static variable.programming.devimagemessage-square8fedilinkarrow-up124arrow-down10file-textcross-posted to: programmer_humor@programming.dev
arrow-up124arrow-down1imageThe difference between an instance variable and a static variable.programming.devDonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 1 year agomessage-square8fedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squaretiredofsametab@kbin.sociallinkfedilinkarrow-up5·1 year agoPerl actually uses my and our to do scope. my @foo; our $bar;
Perl actually uses
my
andour
to do scope.my @foo;
our $bar;