in reply to step over or ignore function in Perl?!

Please name some of these languages ... or are you thinking of perl5db.pl - the perl debugger
  • Comment on Re: step over or ignore function in Perl?!

Replies are listed 'Best First'.
Re^2: step over or ignore function in Perl?!
by cdarke (Prior) on May 06, 2009 at 12:19 UTC
    Python has 'pass', Bourne/Korn/Bash has ':', COBOL has (had?) NEXT-SENTENCE. But they were needed in those languages because (generally) of a lack of block delimiters, you shouldn't really need it in Perl. You can just have an empty block:
    use strict; use warnings; my $x; if (defined $x) { # do nothing } else { print "\$x is not defined\n" }