then later on in the code you can do thismy $myvariable; my $this-variable; $this-variable = 1 if $myvariable =~ /blah/;
print "HEY!\n" if $this-variable; print "NO!\n" if !$this-variable;
In reply to Re: Declaring Variables
by cleen
in thread Declaring Variables
by Stamp_Guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |