Hi Geoffroy: In MAC.pm, you commented out:
use base qw(Exporter); and replaced it with: require Exporter; This syntax does not seem to work with Perl 5.8.8 which comes with Fedora Core 6. Does the first syntax not work for you? Thanks, Bernard On 1/23/07, Geoffroy Vallée <[EMAIL PROTECTED]> wrote: > Hi Bernard, > > > Le mardi 23 janvier 2007 00:45, Bernard Li a écrit: > > Hi Geoffroy: > > > > Thanks for doing this. > > You are welcome... it was pretty simple to do actually. :-) > > > > > So should we spin out a CLI_MAC.pm for the CLI code then? Currently > > the CLI code are still in the MAC.pm library. > > Yes i think it should be nice to separate the CLI code from the library code. > Actually I wanted to do it yesterday night but i had to work on something > else. I will try to do it within the next few days. > Note that CLIops.pm is kind of redundant. > > > > > I'll test the CLI later to see if anything is broken. > > Sounds good! > > > > > Cheers, > > > > Bernard > > > > On 1/22/07, Geoffroy VALLEE <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I started to separate the GUI code from library code. We have now two > > > files: MAC.pm for the library code and GUI_MAC.pm for the GUI code. Note > > > that a MACops.pm is already existing and duplicates some code. > > > > > > I did some basic tests and everything seems to be fine using the GUI. I > > > did not check for the CLI but it should work. Let me know if you have any > > > problem. > > > > > > It is just a first step, a lot has to be re-organized/cleaned-up. I will > > > try to have a look within the new few weeks, but any help is welcome. :-) > > > > > > Regards, > > > > > > On Monday 22 January 2007 11:47, Thomas Naughton wrote: > > > > As for the MAC.pm related aspects, I can't speak for Wesley but I'm > > > > pretty sure things were done to avoid interruption and duplication as > > > > much as possible. > > > > > > > > Also, I seem to remember that this MAC.pm was initmately tied to the > > > > GUI which had a load of problems. The main thing to remember is that we > > > > want to keep library routines as vanilla as possible in order to keep > > > > the same code path for the GUI & CLI, minus the user interface aspects. > > > > > > > > So, if we're doing something specific for the CLI or the GUI that could > > > > be done in a more generic (reusable) manner then please make the > > > > changes in that direction. Otherwise, I think we need to make the > > > > effort to think how we can make things more generic and reusable by > > > > both CLI & GUI to make testing much easier in the long run. > > > > > > -- > > > Geoff > > -- > Geoffroy > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
