sub find_symbol {
... # got to here today! (20180520)
}
####
$ perl xyzzy.pl
Foo!
Unimplemented at xyzzy.pl line 13.
####
sub find_symbol {
... got to here today! (20180520)
}
####
$ perl xyzzy.pl
syntax error at xyzzy.pl line 12, near "... got to "
Execution of xyzzy.pl aborted due to compilation errors.
####
sub find_symbol {
got to here today! (20180520)
}
####
$ perl -c LTSpice_to_graph.pl
LTSpice_to_graph.pl syntax OK
####
$ cat xyzzy.pl
#!env perl
use strict;
use warnings;
find_symbol();
sub find_symbol {
got to here today
}
$ perl -c xyzzy.pl
xyzzy.pl syntax OK
$ perl -MO=Concise xyzzy.pl
6 <@> leave[1 ref] vKP/REFC ->(end)
1 <0> enter ->2
2 <;> nextstate(main 5 xyzzy.pl:5) v:*,&,{,x*,x&,x$,$ ->3
5 <1> entersub[t2] vKS/TARG,STRICT ->6
- <1> ex-list K ->5
3 <0> pushmark s ->4
- <1> ex-rv2cv sK/STRICT,1 ->-
4 <#> gv[*find_symbol] s/EARLYCV ->5
- <;> ex-nextstate(main 7 xyzzy.pl:10) v:*,&,{,x*,x&,x$,$ ->6
xyzzy.pl syntax OK
####
$ perl -version
This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-cygwin-threads-multi
(with 7 registered patches, see perl -V for more detail)
####
sub find_symbol {
I got to here today
}
####
$ perl -c xyzzy.pl
Bareword "today" not allowed while "strict subs" in use at xyzzy.pl line 8.
xyzzy.pl had compilation errors.