From dmagnuszewski at yahoo.com Mon Mar 8 10:17:56 2004 From: dmagnuszewski at yahoo.com (Daniel Magnuszewski) Date: Mon Aug 2 21:25:58 2004 Subject: [Buffalo-pm] CGI Dynamic Content Drop-Down... In-Reply-To: <32800.67.75.58.224.1076553735.squirrel@my.modwest.com> Message-ID: <20040308161756.1792.qmail@web21113.mail.yahoo.com> Mongers, I need to create a drop down list that will contain options, which will include all the files read from a directory. Obviously, things are added and deleted in the directory, and I need the drop down to reflect and be in tandem with the state of the directory. I've checked out a lot of docs and have only found hard coded option examples. Any thoughts/pointers? Thanks. -Dan --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/buffalo-pm/attachments/20040308/5ba2e78b/attachment.htm From robert_raux at fastmail.fm Mon Mar 8 10:27:32 2004 From: robert_raux at fastmail.fm (Robert Raux) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] CGI Dynamic Content Drop-Down... In-Reply-To: <20040308161756.1792.qmail@web21113.mail.yahoo.com> References: <20040308161756.1792.qmail@web21113.mail.yahoo.com> Message-ID: <1078763252.7765.8.camel@truck.muffins> Dan, Use a reference to a data structure. Read the directory of file names using the standard means into an array. Then, using the CGI equivalent of whichever form object you'd like, instead of a hardcoded array of values, pass in the array reference. Cheers, Rob On Mon, 2004-03-08 at 11:17, Daniel Magnuszewski wrote: > Mongers, > > I need to create a drop down list that will contain options, which > will include all the files read from a directory. Obviously, things > are added and deleted in the directory, and I need the drop down to > reflect and be in tandem with the state of the directory. I've checked > out a lot of docs and have only found hard coded option examples. Any > thoughts/pointers? Thanks. > > -Dan > > > ______________________________________________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail > > ______________________________________________________________________ > _______________________________________________ > Buffalo-pm mailing list > Buffalo-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/buffalo-pm/attachments/20040308/86be158c/attachment.bin From bpm at binarymojo.net Mon Mar 8 11:22:37 2004 From: bpm at binarymojo.net (Kevin Christopher) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] CGI Dynamic Content Drop-Down... Message-ID: <5924.64.65.247.81.1078766557.squirrel@my.modwest.com> The CGI.pm module should provide a way for you to populate a drop down list with readdir(). You should be able to do something like: my @dir_results = readdir(DIR); ... print $cgi->popup_menu( -name=>'directory', -values=>\@dir_results, ); ... Kevin C. > > Mongers, > > I need to create a drop down list that will contain options, which > will include all the files read from a directory. Obviously, things > are added and deleted in the directory, and I need the drop down to > reflect and be in tandem with the state of the directory. I've checked > out a lot of docs and have only found hard coded option examples. Any > thoughts/pointers? Thanks. > > -Dan > > > --------------------------------- > Do you Yahoo!? > Get better spam protection with Yahoo! Mail From dmagnuszewski at yahoo.com Mon Mar 8 12:51:19 2004 From: dmagnuszewski at yahoo.com (Daniel Magnuszewski) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] CGI Dynamic Content Drop-Down... In-Reply-To: <5924.64.65.247.81.1078766557.squirrel@my.modwest.com> Message-ID: <20040308185119.32056.qmail@web21113.mail.yahoo.com> Thanks Guys! Kevin Christopher wrote:The CGI.pm module should provide a way for you to populate a drop down list with readdir(). You should be able to do something like: my @dir_results = readdir(DIR); ... print $cgi->popup_menu( -name=>'directory', -values=>\@dir_results, ); ... Kevin C. > > Mongers, > > I need to create a drop down list that will contain options, which > will include all the files read from a directory. Obviously, things > are added and deleted in the directory, and I need the drop down to > reflect and be in tandem with the state of the directory. I've checked > out a lot of docs and have only found hard coded option examples. Any > thoughts/pointers? Thanks. > > -Dan > > > --------------------------------- > Do you Yahoo!? > Get better spam protection with Yahoo! Mail --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/buffalo-pm/attachments/20040308/e179b216/attachment.htm From bpm at binarymojo.net Mon Mar 8 13:45:37 2004 From: bpm at binarymojo.net (Kevin Christopher) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Next Buffalo Perl Mongers Meeting - March 11 Message-ID: <7136.64.65.247.81.1078775137.squirrel@my.modwest.com> Time flies! According to our regular second-Thursday schedule, the next meeting for the Buffalo Perl Mongers is scheduled for this Thursday, March 11th. I apologize for not have planned anything out in advance for this month, but we can still meet for a general meeting this Thursday, at 7-8:30 p.m., at Alternative Brews, 3488 Sheridan Drive, Amherst. If any of you want to take part in some general planning and discussion, let me know. Among other topics (suggestions welcome) that we might discuss Thursday evening, there are the following: (1) There are a couple of Toronto Perl Mongers events we should discuss organizing road trips for: There is a March 25th "Pair Programming" meeting that Jim Brandt pointed out last month (more info at http://to.pm.org/#032004). People will pair off at this meeting with a laptop and collaborate to design a module with an assigned list of requirements. Tom Legrady, who is hosting this meeting, will play the role of "client" and "contact-with-the-client", clarifying any questions or problems. One idea behind this is to pair up randomly and pair off more experienced with less experienced programmers, so this is great opportunity to learn something new and trade ideas and techniques with other Perl hackers. Also, Mark Jason Dominus will be giving talks in Toronto the first weekend of June (he will probably not be at the YAPC conference here in Buffalo, so if you want an opportunity to meet him anytime in the near future, you ought to make the pilgrimage to Canada for his talks that weekend). TPM is soliciting contributions from anyone attending to cover MJD's travel expenses. I'll circulate some more info about that soon. I can drive up to Toronto for both the above-mentioned events and can take 3 other people in my car. For March 25th, we'd have to leave Buffalo by 4:30 p.m., latest, and we would probably be back in Amherst by 11:30 p.m. This is a long evening for a weeknight, but the Toronto group is a fun and talented crowd, so the trip is well worth it. (2) I'd like to fill in our own events schedule and project it out to at least June. We need speakers for April 8th and May 13th. In particular, I'm hoping that we can get two volunteers from this mailing list to commit to an hour talk, which can be, for example, on a particular module, using Perl for certain types of problems (e.g. text processing, data munging), etc. (3) I'd like some advice and help on revamping our site at buffalo.pm.org, such as possibly adding RSS feeds from use.perl.org and CPAN, design improvements, etc. (4) I'd also like to discuss the idea of how we could best fund out-of-town speakers for programming later in the year. For example, we can do this on an as-needed basis, or we can nominate a treasurer from among our ranks and ask all list members to pitch in a modest annual amount up front for the year's programming. For example, we have 46 list members, if everyone contributed $20/year, that would give us about $900: good for at least two speakers from anywhere in the U.S. (or at least four on bargain-basement multiple-stop Expedia red-eye specials). We can certainly discuss all of this on the list, but I hope at least a few of you can make it to Alternative Brews this Thursday for a couple of beers. Kevin C. From dmagnuszewski at yahoo.com Tue Mar 9 01:16:39 2004 From: dmagnuszewski at yahoo.com (Daniel Magnuszewski) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Next Buffalo Perl Mongers Meeting - March 11 In-Reply-To: <7136.64.65.247.81.1078775137.squirrel@my.modwest.com> Message-ID: <20040309071639.83239.qmail@web21104.mail.yahoo.com> Unfortunately March 11th is my 21st B-Day...so I will be busy consuming beverages and making a fool of myself... -Dan Kevin Christopher wrote: Time flies! According to our regular second-Thursday schedule, the next meeting for the Buffalo Perl Mongers is scheduled for this Thursday, March 11th. I apologize for not have planned anything out in advance for this month, but we can still meet for a general meeting this Thursday, at 7-8:30 p.m., at Alternative Brews, 3488 Sheridan Drive, Amherst. If any of you want to take part in some general planning and discussion, let me know. Among other topics (suggestions welcome) that we might discuss Thursday evening, there are the following: (1) There are a couple of Toronto Perl Mongers events we should discuss organizing road trips for: There is a March 25th "Pair Programming" meeting that Jim Brandt pointed out last month (more info at http://to.pm.org/#032004). People will pair off at this meeting with a laptop and collaborate to design a module with an assigned list of requirements. Tom Legrady, who is hosting this meeting, will play the role of "client" and "contact-with-the-client", clarifying any questions or problems. One idea behind this is to pair up randomly and pair off more experienced with less experienced programmers, so this is great opportunity to learn something new and trade ideas and techniques with other Perl hackers. Also, Mark Jason Dominus will be giving talks in Toronto the first weekend of June (he will probably not be at the YAPC conference here in Buffalo, so if you want an opportunity to meet him anytime in the near future, you ought to make the pilgrimage to Canada for his talks that weekend). TPM is soliciting contributions from anyone attending to cover MJD's travel expenses. I'll circulate some more info about that soon. I can drive up to Toronto for both the above-mentioned events and can take 3 other people in my car. For March 25th, we'd have to leave Buffalo by 4:30 p.m., latest, and we would probably be back in Amherst by 11:30 p.m. This is a long evening for a weeknight, but the Toronto group is a fun and talented crowd, so the trip is well worth it. (2) I'd like to fill in our own events schedule and project it out to at least June. We need speakers for April 8th and May 13th. In particular, I'm hoping that we can get two volunteers from this mailing list to commit to an hour talk, which can be, for example, on a particular module, using Perl for certain types of problems (e.g. text processing, data munging), etc. (3) I'd like some advice and help on revamping our site at buffalo.pm.org, such as possibly adding RSS feeds from use.perl.org and CPAN, design improvements, etc. (4) I'd also like to discuss the idea of how we could best fund out-of-town speakers for programming later in the year. For example, we can do this on an as-needed basis, or we can nominate a treasurer from among our ranks and ask all list members to pitch in a modest annual amount up front for the year's programming. For example, we have 46 list members, if everyone contributed $20/year, that would give us about $900: good for at least two speakers from anywhere in the U.S. (or at least four on bargain-basement multiple-stop Expedia red-eye specials). We can certainly discuss all of this on the list, but I hope at least a few of you can make it to Alternative Brews this Thursday for a couple of beers. Kevin C. _______________________________________________ Buffalo-pm mailing list Buffalo-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/buffalo-pm --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/buffalo-pm/attachments/20040308/5bab55ae/attachment.htm From dmagnuszewski at yahoo.com Tue Mar 9 20:21:24 2004 From: dmagnuszewski at yahoo.com (Daniel Magnuszewski) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Next Buffalo Perl Mongers Meeting - March 11 In-Reply-To: <7136.64.65.247.81.1078775137.squirrel@my.modwest.com> Message-ID: <20040310022124.44265.qmail@web21109.mail.yahoo.com> Mongers, Since I won't be at the Meeting on thursday, here's my two cents: I'm definately down for the MJD talk in June. I'd also have no problem pitching in some money - it'd be well worth it. As for the March 25th event: I'd like to go, assuming no projects or exams for school. Side Note: 45 people on this list?!? It would be good to see some of those faces at our meetings. You don't have to be a Perl Guru to attend. So if you're reading this, and haven't come to any meetings yet/lately, you should stop by the next meeting and say "Hi". -Dan --- Kevin Christopher wrote: > Time flies! According to our regular second-Thursday schedule, the next > meeting for the Buffalo Perl Mongers is scheduled for this Thursday, > March 11th. > > I apologize for not have planned anything out in advance for this > month, but we can still meet for a general meeting this Thursday, at > 7-8:30 p.m., at Alternative Brews, 3488 Sheridan Drive, Amherst. If any of > you want to take part in some general planning and discussion, let > me know. > > Among other topics (suggestions welcome) that we might discuss Thursday > evening, there are the following: > > (1) There are a couple of Toronto Perl Mongers events we should discuss > organizing road trips for: > > There is a March 25th "Pair Programming" meeting that Jim Brandt pointed > out last month (more info at http://to.pm.org/#032004). People will pair > off at this meeting with a laptop and collaborate to design a module > with an assigned list of requirements. Tom Legrady, who is hosting > this meeting, will play the role of "client" and > "contact-with-the-client", clarifying any questions or problems. One > idea behind this is to pair up randomly and pair off more experienced > with less experienced programmers, so this is great opportunity to learn > something new and trade ideas and techniques with other Perl hackers. > > Also, Mark Jason Dominus will be giving talks in Toronto the first > weekend of June (he will probably not be at the YAPC conference here in > Buffalo, so if you want an opportunity to meet him anytime in the near > future, you ought to make the pilgrimage to Canada for his talks that > weekend). TPM is soliciting contributions from anyone attending to cover > MJD's travel expenses. I'll circulate some more info about that soon. > > I can drive up to Toronto for both the above-mentioned events and can > take 3 other people in my car. For March 25th, we'd have to leave Buffalo > by 4:30 p.m., latest, and we would probably be back in Amherst by 11:30 > p.m. This is a long evening for a weeknight, but the Toronto group is a > fun and talented crowd, so the trip is well worth it. > > (2) I'd like to fill in our own events schedule and project it > out to at least June. We need speakers for April 8th and May 13th. In > particular, I'm hoping that we can get two volunteers from this mailing > list to commit to an hour talk, which can be, for example, on a > particular module, using Perl for certain types of problems (e.g. text > processing, data munging), etc. > > (3) I'd like some advice and help on revamping our site at > buffalo.pm.org, such as possibly adding RSS feeds from use.perl.org and > CPAN, design improvements, etc. > > (4) I'd also like to discuss the idea of how we could best fund out-of-town > speakers for programming later in the year. For example, we can do this on > an as-needed basis, or we can nominate a treasurer from among our ranks > and > ask all list members to pitch in a modest annual amount up front for the > year's programming. For example, we have 46 list members, if everyone > contributed $20/year, that would give us about $900: good for at least > two speakers from anywhere in the U.S. (or at least four on > bargain-basement multiple-stop Expedia red-eye specials). > > We can certainly discuss all of this on the list, but I hope at least a > few of you can make it to Alternative Brews this Thursday for a couple of > beers. > > Kevin C. > > > _______________________________________________ > Buffalo-pm mailing list > Buffalo-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com From eye at buffalo.edu Thu Mar 11 16:02:26 2004 From: eye at buffalo.edu (Kevin Eye) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Next Buffalo Perl Mongers Meeting - March 11 In-Reply-To: <7136.64.65.247.81.1078775137.squirrel@my.modwest.com> References: <7136.64.65.247.81.1078775137.squirrel@my.modwest.com> Message-ID: I won't be able to make it tonight, either, but here's what I would have said had I been present :-) > (1) There are a couple of Toronto Perl Mongers events we should discuss > organizing road trips for: I'd be up for traveling to see MJD and chipping in a donation. I'm not as interested in the Pair Programming excursion. > (2) I'd like to fill in our own events schedule and project it > out to at least June. We need speakers for April 8th and May 13th. In > particular, I'm hoping that we can get two volunteers from this mailing > list to commit to an hour talk, which can be, for example, on a > particular module, using Perl for certain types of problems (e.g. text > processing, data munging), etc. I'd be happy to prepare another talk if no-one else has anything in particular they want to do. Maybe something on Inline::C, XML parsing, or anything else there's interest in. > (3) I'd like some advice and help on revamping our site at > buffalo.pm.org, such as possibly adding RSS feeds from use.perl.org and > CPAN, design improvements, etc. I could help with the under-the-hood bits of this. Design improvements aren't really my thing, though. > (4) I'd also like to discuss the idea of how we could best fund > out-of-town > speakers for programming later in the year. I think mandatory dues would do nothing but decrease our dwindling membership. I'd be surprised if we could raise more than $200 with either mandatory or voluntary contributions. It'd be nice to bring in speakers just for us, but until we have a much larger dedicated member base, I think our speaker pool will be purely opportunistic (e.g. local members, gurus that happen to be in town, and banding together with other groups (i.e. Toronto) to bring people in). - Kevin -- Kevin Eye Web Applications Developer Creative Services and Marketing University at Buffalo 330 Crofts Hall Buffalo, NY 14260 eye@buffalo.edu phone (716) 645-5000 x1435 fax (716) 645-3765 From bpm at binarymojo.net Tue Mar 23 15:50:42 2004 From: bpm at binarymojo.net (Kevin Christopher) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Going to Toronto Thursday? Message-ID: <5846.64.65.247.81.1080078642.squirrel@my.modwest.com> The next meeting of the Toronto Perl Mongers - Topic: "Pair Programming" - will be held this Thursday, the 25th. (More info at to.pm.org or see my post a couple of weeks ago about this in the mailing list archives http://mail.pm.org/pipermail/buffalo-pm/2004-March/000134.html). As I said in my original post, I agree to do the driving and take up to three other people in my car. So far, only one person got back to me to say that they will definitely go: that means there's still two seats in my car available for anyone else who'd like to go. We would have to leave by 4:00 p.m. from UB or my place of work here in Amherst, and we would be back in Buffalo by 11:00-11:30 p.m. ***If you can make it, please respond by tomorrow afternoon, latest.*** -Kevin From bpm at binarymojo.net Tue Mar 23 16:49:16 2004 From: bpm at binarymojo.net (Kevin Christopher) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] Pittsburgh Recruiter Looking for Perl/Shell Scripting Contractor Message-ID: <8950.64.65.247.81.1080082156.squirrel@my.modwest.com> Dirk Carney from Premier Technologies in Pittsburgh e-mailed me asking if anyone on our list would be interested in the contract job described below. If so, you can find his contact info at the bottom of this e-mail, and definitely tell him you found out about this job lead through the Buffalo Perl Mongers list. -Kevin. Job description: Perl/Shell Scripting Contractor in Pittsburgh, PA. Details/Requirements: - BS Degree in Information Systems or related field. - 2-4 years in application development WORK RELATED SKILLS: - ANT & LDAP - Must be proficient in writing scripts (both Shell & Perl) - Ability to look at existing scripts and automate them - Must be able to communicate well and have people skills - Need little or no supervision. - Java experience would be a plus. Please email or fax your resume to: Dirk Carney Technical Recruiter Premier Technologies, Inc. dcarney@premweb.com Phone: 877-773-6932 x128 Fax: 412-788-1778 www.premweb.com From bpm at binarymojo.net Tue Mar 30 15:08:42 2004 From: bpm at binarymojo.net (Kevin Christopher) Date: Mon Aug 2 21:25:59 2004 Subject: [Buffalo-pm] MJD in Toronto First Weekend in June Message-ID: <4822.64.65.247.81.1080680922.squirrel@my.modwest.com> Toronto-PM needs donations for Mark Jason Dominus visit to Toronto the first weekend in June (4th - 6th). He will not be at the YAPC conference, so his Toronto visit is *the* chance to meet him in a city near you. Check donations should be made payable to Richard Dice and sent to Richard Dice #1806-6000 Yonge Street North York, Ontario Canada M2M 3W1 Checks OK in US funds. Please include a note with your snailmail address so Richard can send you a receipt for your records (contributions are not charitable or tax-deductible). If you any have questions about MJD's visit or making donations, you can contact Richard Dice at rdice_at_pobox.com - Kevin Christopher