Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Adding elements to an array from an array

by Rhodium (Scribe)
on May 01, 2002 at 20:00 UTC ( [id://163365]=note: print w/replies, xml ) Need Help??


in reply to Re: Adding elements to an array from an array
in thread Adding elements to an array from an array

Hi,

Nice effort, but this grabs all of the records and the problem as most of you noted is that I am only trying to get the matches for a particular .SUBCKT. So for example I only want to get the /VDD|VCC/ and /VSS|GND/ for .SUBCKT FOO. And ignore .SUBCKT test2 all together..

I hope this clears it up a bit. Thanks


Rhodium

The <it>seeker</it> of perl wisdom.

Replies are listed 'Best First'.
Re: Re: Re: Adding elements to an array from an array
by CharlesClarkson (Curate) on May 02, 2002 at 03:05 UTC

    Put the check back in.

    while( <DATA> ) { next unless m/^\.SUBCKT\s+$runset{SchCell}/; my %seen; . . .

    HTH,
    Charles K. Clarkson
    Clarkson Energy Homes, Inc.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-24 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found