> for example are these objects allowed to have pointers to other objects?

yes, a little demo

PS C:\tmp> ls tst # stringific +ation of list of objects Verzeichnis: C:\tmp Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 22.01.2021 01:23 12 tst PS C:\tmp> (ls tst).GetAccessControl().Owner # get Access + Obj and get owner COM\RolfLanX PS C:\tmp> $x=ls tst # save obj i +n var PS C:\tmp> $x.length 6 PS C:\tmp> cat tst PS C:\tmp> echo "blabla" >tst # change con +tent PS C:\tmp> $x.length # old length 6 PS C:\tmp> (ls tst).length # new length 18

I also already found a caveat

PS C:\tmp> (ls tst*).name # name for each list element tst tst.pl tst.txt tst_flushing.pl tst_flushing.pl~ tst_onclick.html tst_onclick.html~ tst_pde.pl tst_pde.pm tst_pde.pm~ PS C:\tmp> (ls tst*).length # length of list not list elements 10

NB: The "cmdlet" Get-ChiltItem (aka ls) can list very different types of objects, not only filesystem.

PS C:\tmp> ls -Path HKLM:\HARDWARE Hive: HKEY_LOCAL_MACHINE\HARDWARE Name Property ---- -------- ACPI DESCRIPTION DEVICEMAP RESOURCEMAP UEFI PS C:\tmp> cd -Path HKLM:\HARDWARE # cd into registry PS HKLM:\HARDWARE> ls -name # list names ACPI DESCRIPTION DEVICEMAP RESOURCEMAP UEFI PS HKLM:\HARDWARE>

TIMTOWTDI, this is was all done without even piping.

You might wanna consult a tutorial, I only scratched the surface so far. :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery


In reply to Re^14: let Makefile.PL to do the Readme file for me -- new target? (Powershell) by LanX
in thread let Makefile.PL to do the Readme file for me -- new target? by Discipulus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.