how to loop over instances of a class
fulko.hew_at_sita.aero
Date: 01/30/04
- Next message: triangle: "Merging two text files based on some kind of text anchors"
- Previous message: Brian McCauley: "Re: First-Class Filehandle Trick in 5.8"
- Next in thread: Jay Tilton: "Re: how to loop over instances of a class"
- Reply: Jay Tilton: "Re: how to loop over instances of a class"
- Reply: Jeff Thies: "Re: how to loop over instances of a class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jan 2004 11:57:22 -0800
There has got to be a built in way to loop over all instances of a class.
But I can't find it.
ie.
foreach $y (MYCLASS::) {
$y->mymethod();
}
- Next message: triangle: "Merging two text files based on some kind of text anchors"
- Previous message: Brian McCauley: "Re: First-Class Filehandle Trick in 5.8"
- Next in thread: Jay Tilton: "Re: how to loop over instances of a class"
- Reply: Jay Tilton: "Re: how to loop over instances of a class"
- Reply: Jeff Thies: "Re: how to loop over instances of a class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]