Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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"; }


Comment on Re: open com port list
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-09-21 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls