mavericknik has asked for the wisdom of the Perl Monks concerning the following question:
How would I go about deciphering the thing after $val? Also, the verilog-perl module is used here. I'm struggling to figure out what the "$1" does in $mod->find_cell($1) Is it something related to perl? I could not find anything in the verilog perl module documentation. Thanks.if ($val =~ /^[ ]+Pin:[ ]*([^\.]*)\.([^ ]*)[ ]*out/) { $cellname = $mod->find_cell($1); $pin_connected = $2; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Beginner confused with string matching
by hippo (Archbishop) on Apr 09, 2015 at 15:08 UTC | |
|
Re: Beginner confused with string matching
by Anonymous Monk on Apr 09, 2015 at 15:03 UTC |