Often I need the display_columns list minus a few specific columns that, say , I already have values for and do not want displayed in the traditional way. Same for list columns. Currently, throughout my app I just type a new list with the columns I want. Not only is this a lot of typing but if a column gets deleted from a table , I have to go delete it from several lists scattered throughout several files. What I really want to say is , if you could subtract a list from another list, ( I pretty sure you can do this in Ruby and I will check )
@wanted = $class->display_columns - (qw/col_I_dont_want col2.../); So I am tring to dream up a decent interface to specify this in Maypole. Above would be beautiful. Perhaps display_columns could return an Object that behaves like a list except you can add and subtract from it. Or perhaps an autoload method could be generated: @wanted = $class->display_columns_minus(qw/.../); Anyone? -- pjs ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users