Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: open com port list

by rpnoble419 (Pilgrim)
on Feb 06, 2010 at 02:17 UTC ( #821689=note: print w/replies, xml ) Need Help??

in reply to open com port list

You might want to try this:
#! perl -slw use strict; use Win32::TieRegistry 0.20; # open registry node my $key= new Win32::TieRegistry "LMachine\\Hardware\\DEVICEMAP\\SERIAL +COMM\\"; # Get list of value names: my @valueNames= $key->ValueNames; foreach my $item (@valueNames) { my $valueString= $key->GetValue($item); print $valueString."\n"; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821689]
[Corion]: Grrr. I thought I had started work on Filter::Simple in a feature branch but it seems that I haven committed to the master branch instead :-(
[choroba]: just cherry pick the commits to a feature branch and reset/revert the master
[Corion]: choroba: Yeah - as this is not an official repository, I don't mind about ruining other peoples clones of that ;)
[choroba]: oh, if you already pushed, you should revert
[Corion]: choroba: Naah, I don't mind rewriting history, at least when it is in my favour ;)
[Corion]: Ruining other peoples clones is not nice, but as I only have that repo to (later) show people when I encounter problems, I don't mind that
[Corion]: I should look into self-hosting gitprep instead of relying so much on github

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-01-23 10:29 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (192 votes). Check out past polls.