I am using pdl2, the interactive perl pdl shell, and I want to add comments in lines to document the next code line so I can review my interactive session later on.
pdl> # this is a comment
Can't exec "this": No such file or directory at /homes/pmg/pmg-soft/local-perl/local-lib/lib/perl /x86_64-linux/PDL/Perldl2/Plugin/PDLCommands.pm line 51.
Is it possible to add comments in a pdl2 shell?
PS: can someone with 1500 reputation add a pdl2 tag?
[UPDATE]
OK, '#' is indeed the comment sigil as I thought but seems that you can not start a line with # unless you put a sp (or semething) before. ?! is that a 'feature'?
pdl> # d
Can't exec "d": No such file or directory at /homes/pmg/pmg-soft/local-perl/local-lib/lib/perl5/x86_64-linux/PDL/Perldl2/Plugin/PDLCommands.pm line 51.
pdl> # d # "note the space before the #"
pdl>