On Fri, Feb 17, 2017 at 9:47 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> What is the difference between these two commands and why would
> you use ".perl"?
>
>    say "$ServiceName";
>    say $ServiceName.perl;
>

The first uses .gist, which produces a summary of an object ("just the
gist"). For value types, it will be the same as .perl; complex object types
will usually provide a useful subset of information instead of spilling
their guts.

.perl is effectively a built-in version of Perl 5's Data::Dumper, although
currently it has some shortcomings.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to