LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-27-2011, 12:04 PM   #1
systemlordanubis
Member
 
Registered: Jun 2010
Distribution: Debian, Ubuntu, Win
Posts: 143

Rep: Reputation: 16
Iterating through IPC::Cache


Hi All,

I need to find a way to iterate through all listed keys in an IPC::Cache object. There doesn't seem to be an example of this I can find.

Thanks
Anubis.
 
Old 07-28-2011, 01:18 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Having had a quick look at the relevant CPAN page, I can see your problem. Maybe try http://search.cpan.org/~samtregar/IP...SharedCache.pm which has a 'walk' operator that seems to do what you want.
Alternately (if you don't get a good answer here soon), try http://www.perlmonks.org/ ; it's where the Perl gurus hang out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Iterating through eth and vlan interfaces in perl systemlordanubis Linux - Networking 2 08-01-2010 10:06 PM
problems iterating in RUBY while extracting info from YAML, Pls help! wrapster Programming 0 10-04-2008 09:39 AM
Measuring Instuction per cycle ,cache miss, IPC sanjay_smg Linux - Software 0 01-16-2008 07:47 AM
cgi perl and iterating h/w Programming 13 11-29-2007 12:15 PM
Iterating over a map(c++)? Guest1234 Programming 2 05-12-2005 03:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration