Re: Determine total days of month

2006-04-04 Thread Chris Devers
, etc) -- but a lot of the time it ends up being easier to just figure out the mappings in advance and hard-code that either in your script or in a resource data file that your script loads at run time. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: New to Perl....

2006-03-28 Thread Chris Devers
hat did flow charts, though a lot of them have plugins for different types of reports that may include such diagrams -- but at least it does the bulk of the setup work for you. Good luck. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Padded 3 digit numeric series

2006-03-11 Thread Chris Devers
if $n > 100, etc. It wouldn't be that hard to do, but I think sprintf will be much easier. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Perl/CGI detecting status of radio button

2006-03-10 Thread Chris Devers
On Fri, 10 Mar 2006, Nan Jiang wrote: > I would like to ask if some of you know how to use perl to detect the > status (checked or unchecked) of a radio button from a HTML form? Yes. Some of us do know how to do this. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Forcing order

2006-03-09 Thread Chris Devers
sort the hash keys. Instead of this: > foreach ( keys( %values ) ) { Try this, or a variant on this: foreach ( sort keys( %values ) ) { You can get more sophisticated than this, but doing at least this much sorting on the keys should start producing consistent results. -- Chris De

Re: Does this script have the efficiency problems?

2006-03-09 Thread Chris Devers
ll know where to focus your attention. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: regexpressions help

2006-02-14 Thread Chris Devers
e have in trying to convince them otherwise? You have a slim chance of catching a typo -- though if you think about it most people that can type at all well have probably long-since committed their own name to finger memory, so typoes are unlikely -- but most likely you're just going to get

Re: text files to xml database

2006-02-11 Thread Chris Devers
lso. Good luck with that! Let us know if you turn up any good leads. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: -w switch not working

2006-02-03 Thread Chris Devers
n the shebang line, as #!/usr/bin/perl -w For that matter, most CGI scripts should also use -T for data tainting, so that would make it #!/usr/bin/perl -wT ...but that's getting a little bit ahead of things, perhaps. :-) -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To un

Re: vlookup by perl instead of excel

2006-02-02 Thread Chris Devers
g Perl? Yes? I suspect it will be easier to help you if you give us a clear idea of what your data is, how it's being stored (Excel, or other), what you need to accomplish with your data, and -- most important -- what you have tried so far. -- Chris Devers DO NOT LEAVE IT IS NOT REAL --

Re: file test

2006-01-23 Thread Chris Devers
On Mon, 23 Jan 2006, hien wrote: > i am trying to check if there are any files named file* (e.g. > file_001.txt file1.doc) in my directory. perldoc -f glob -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Help Needed

2006-01-17 Thread Chris Devers
ind? Did you find Lincoln Stein's _Network Programming with Perl_ yet? There's lots of good material out there, if only you try to find it. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dprofpp

2006-01-16 Thread Chris Devers
rted by the times subroutine depends on the rate at which the clock interrupts occur. Helpful? -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: contest software

2006-01-15 Thread Chris Devers
to whip up a solution in no more than an hour or two. Have at it and let us know if you have any questions once you've started writing your version of that script. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Win32 distributions - What are people using?

2006-01-13 Thread Chris Devers
for interacting with Windows itself, but I imagine it should work fine. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: The "@" symbol

2006-01-13 Thread Chris Devers
body {background: white; color: black; font: 12pt Times, serif;} #noprnt {display: none !important;} } ]; Less fiddly, easier to read, works as well or better. Heredocs are for grizzled old shell-scripters that refuse to let go of their scars :-)

Re: perl Input from GUI - form

2006-01-10 Thread Chris Devers
then write a program using it. Have you tried either of these yet? If you've read the documentation, cite it and explain to us how it didn't make sense to you. If you've written a program, show it to us and explain how it isn't doing what you want it to do. -- Chris De

Re: How to add Text::CVS Module

2006-01-09 Thread Chris Devers
e one you're looking at is pure Perl.) -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Want to develop a windows based application

2006-01-08 Thread Chris Devers
indows will probably lead to useful sugggestions -- but then this is the point where, as I noted above, I personally usually find it easier to just cheat and develop a web application instead. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: testing perl

2006-01-08 Thread Chris Devers
On Mon, 9 Jan 2006, Saurabh_Agarwal wrote: > I want to know how to use perl -d perldoc perldebug -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://le

Re: testing perl

2006-01-08 Thread Chris Devers
On Mon, 9 Jan 2006, Saurabh_Agarwal wrote: > How can we test our Perl script? We can test our Perl script carefully. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/&

Re: script to count message sizes on an imap server

2006-01-08 Thread Chris Devers
ist is for helping people improve their code writing skills, not doing the writing for you. If you want it written for you, I'm sure someone could be talked into helping you out for a reasonable fee :-) -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTE

Re: why a.pl is faster than b.pl

2005-12-29 Thread Chris Devers
ks! Several Perl books, including _Mastering Regular Expressions_ and, if I remember correctly, _Learning Perl_, use variants of this example. In essence, yes, if you want to match one of several constant strings like this, the match will happen faster with a series of static regexes than

Re: getting a number out of a string....

2005-12-28 Thread Chris Devers
ch like the $str[] array. Also, it's usefully indented, because Readability Matters. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: GD::Help !

2005-12-28 Thread Chris Devers
ble to give you the coordinates you need to add to your GD::Graph graph, but sorting out how to do this will depend on how your overall code has been written. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: why a.pl is faster than b.pl

2005-12-28 Thread Chris Devers
n statement B while having the same result" -- and you may find more concrete advice from the list members. -- Chris Devers DO NOT LEAVE IT IS NOT REAL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Each char / letter --> array from string value

2005-12-28 Thread Chris Devers
On Wed, 28 Dec 2005, Umesh T G wrote: > I want an alternative solution, if any. Here's one: $ perl -le '$i = "abcd"; @j = split //, $i; print join "\n", @j;' a b c d $ -- Chris Devers 0ª¸IQ'‘éL -- To unsubscribe, e-mail: [EMAIL PROTECT

Re: Autosizing Cells

2005-12-24 Thread Chris Devers
o do more than is feasible with data files you're getting from somewhere else, or you're trying to provide data to somewhere else in a format that can't do all the things you need it to do. Either way, considering a different way to represent your data would probably make your task much simpler. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: How to model discounts in commerce app?

2005-12-23 Thread Chris Devers
an honor them? That in particular is really a business decision more than a technical one, and figuring out how you want to address that decision should answer a lot of the details about how you'll end up implementing it. -- Chris Devers FOR™g ÉQ- -- To unsubscribe, e-mail: [EMAIL PROTEC

Re: for send an email

2005-12-23 Thread Chris Devers
k ??? thank you very very > much. Regards. Ah, you've found the wrong list. You're looking for [EMAIL PROTECTED] Note that it may not exist yet. Setting it up is left as an exercise for the reader. :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Distribution of words length

2005-12-23 Thread Chris Devers
foreach my $word ( @list ) { $word_length{ length $word }++; } foreach my $count ( sort keys %word_length ) { print "Length: $count \t Words: $word_length{$count}\n"; } That or something like it should do what you're asking for. -- Chris Devers ¦Ñÿ²†,

Re: Logic and Rules

2005-12-22 Thread Chris Devers
's so complicated here. Are you overthinking this, or am I underthinking it? -- Chris Devers 2V½–°ªO5Ñýå -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Regex assistance

2005-12-18 Thread Chris Devers
l servers messages flow through are on blacklists. Your time and your life is too valuable to spend it thinking this much about spam. Take your life back. Just use SpamAssassin and get on with more interesting things :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: press key to external program

2005-12-16 Thread Chris Devers
ct with a text-mode program, curses may help you. http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q3.8.html ( ^ possibly outdated advice ) http://search.cpan.org/dist/Curses/ http://search.cpan.org/dist/Curses/gen/make.Curses.pm -- Chris Devers ÑGÍôƒ -- To unsubscribe, e-mail: [EMAIL PROTE

Re: sub args as pointers or values?

2005-12-16 Thread Chris Devers
6004788?v=glance http://books.perl.org/book/200 http://www.manning.com/Conway/ http://www.amazon.com/exec/obidos/tg/detail/-/188491?v=glance http://books.perl.org/book/171 -- Chris Devers Ù³ÄCIü[Ð-Q˜ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Migration of Perl from older version - need help

2005-12-15 Thread Chris Devers
bout it too much. Test to be sure, but you are very likely to find that things just continue to work. -- Chris Devers pÝU·¡qÃRá² -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Migration of Perl from older version - need help

2005-12-15 Thread Chris Devers
k 5.8.6, last I checked. In general, when upgrading the system copy of Perl, you usually don't have to make any changes to your scripts. It isn't a bad idea to bring them up to date with modern programming constructs, but if the older stuff isn't broken, you don't have to

Re: [SPAM DETECT] New lines are not removed using HTML::Strip::Whitespace module

2005-12-13 Thread Chris Devers
hroepl.net/projekte/mod_gzip/browser.htm Under Apache2, mod_deflate seems to be similar: http://httpd.apache.org/docs/2.0/mod/mod_deflate.html -- Chris Devers ªíÄMƒh6ߨ)# -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.per

Re: convert string from lowercase to uppercase

2005-12-12 Thread Chris Devers
-f tr Did you try the uc() uppercase command ? perldoc -f uc uc() is probably the one you want, but the others offer more flexibility and can be preferable in certain contexts. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: $i++

2005-12-11 Thread Chris Devers
up and assign the value each time, while the other version is assigning a constant and so has been optimized at compile time. But that's mainly a guess... -- Chris Devers t€ìçÎÆg„º  -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: $i++

2005-12-11 Thread Chris Devers
n't be. But I could be wrong. How much faster is it? -- Chris Devers ~Ò#ŽGn¹$¬äð -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: z

2005-12-10 Thread Chris Devers
On Sat, 10 Dec 2005, Beau E. Cox wrote: > Hi beginners - > > > > Aloha => Beau; > [EMAIL PROTECTED] > 2005-12-10 You don't say! :-) -- Chris Devers ·¾fm)cÓTO¥†Ü -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Perl IDE with web ?

2005-12-09 Thread Chris Devers
not sure what functionality they have that people want and can't get out of something simpler like Vim or Emacs... -- Chris Devers HåJSOtØu¨9„ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: How to promote the efficiency

2005-12-08 Thread Chris Devers
> 22.33.44.22 > 22.33.44.22 > 22.33.44.33 > 22.33.44.33 > 22.33.44.44 > 22.33.44.55 > > Now I only want the uniq times of all IP appeared,this is 5. So, some kind of structure like foreach @ip { $seen_ip{ $_ }++; } And then work on the keys in the %seen_ip hash.

Re: Why not to use env (was Re: Perl executable pathname needs to be hardwired?)

2005-12-03 Thread Chris Devers
On Sat, 3 Dec 2005, Randal L. Schwartz wrote: > >>>>> "Chris" == Chris Devers <[EMAIL PROTECTED]> writes: > > Chris> My understanding is that the Python idiom is to avoid putting the full > Chris> path, in favor of something like > > Chris

Re: recursive search

2005-12-02 Thread Chris Devers
uild up a list with File::Find or similar module, then work through the list looking for newline chatacters for each file in that list. It should get the same result as above, but will take more hand-coding to get to the final result, and it shouldn't hit the limitation of too many files that th

Re: Archive

2005-12-02 Thread Chris Devers
ers/ Which has the archive you're looking for. Ain't Google a marvelous thing? :-) -- Chris Devers 2þç/VQÈÑýBU~ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Perl executable pathname needs to be hardwired?

2005-12-02 Thread Chris Devers
ile.PL arguments available in the copy of the Perl source you download for more specific instructions. But anyway, yeah. In general, you can't depend on things working consistently if you just start randomly moving around compiled programs and libraries. Sometimes it won't matter, bu

Re: Perl executable pathname needs to be hardwired?

2005-12-02 Thread Chris Devers
#x27;t how most Perl hackers write their code. I don't see much harm in it though, and I could picture it making some scripts more portable if they're going to be running on systems where you can't depend on a copy of the Perl binary being in one of the usual places. -- Chri

Re: Reading xls file

2005-12-01 Thread Chris Devers
On Thu, 1 Dec 2005, Rob Coops wrote: > Then again Chris here is asking for a way to read XLS files not a way > to write them... Doh! Of course, I meant Spreadsheet::ParseExcel :-) -- Chris Devers xô©l71Æþ; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Reading xls file

2005-11-30 Thread Chris Devers
This STILL isn't the "please do my homework for me" list :-) -- Chris Devers eD¯!î×/.Z$ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: From column to row?

2005-11-28 Thread Chris Devers
ed -- I was expecting that you want output like "ABCA", "ABCB..", "ABCD.", "ABCD", "ABCD". Which is it? Regardless, either way is possible. What have you tried so far? Anything? We can only help critique code you've attempted yourself. This

Re: want to install

2005-11-27 Thread Chris Devers
On Mon, 28 Nov 2005, Andreas Schroeder wrote: > Hello? Does someone know, why I can't install the Glib-module on my perl? Nope! -- Chris Devers ²„S%„OÊ¢*îÖ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.

Re: Captcha Images

2005-11-26 Thread Chris Devers
dynamically. There should be multiple modules to help do this sort of thing. Have you taken a look for 'captcha' on CPAN? -- Chris Devers ~‰ENÓâ±þÜj²K -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: How recognize strange subject in a mail ?

2005-11-25 Thread Chris Devers
han SA, and a very strong chance that it will be much less round. SpamAssassin is pretty easy to extend, and it's mostly written in Perl, so if you want to have something productive to practice on, you can start adding or modifying SA rules in Perl. -- Chris Devers Фy‚'a½y;'

Re: HTTP Posting in Perl

2005-11-25 Thread Chris Devers
Okay. http://search.cpan.org/ -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: 15 Million RAW

2005-11-25 Thread Chris Devers
any code, or any benchmarks, so we don't. Efficient regexes run efficiently. Inefficient regexes run inefficiently. Measuring can help identify potential problems. But in this case, we don't even know if that's where the problem lies. -- Chris Devers è—*B)¢O¯ùPÈ -- To uns

Re: 15 Million RAW

2005-11-24 Thread Chris Devers
t where the time is being spent, or what system resource is being exhausted, you can't properly address the problem. Really, you could do a whole lot worse than by just getting a copy of _Perl Best Practices_ and using its advice to rewrite your program from scratch. Almost everyone coul

Re: How recognize strange subject in a mail ?

2005-11-24 Thread Chris Devers
your junk mail -- you'll be glad you did :-) -- Chris Devers R±Ð­6ׂÄÜì  -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: number of spaces in a given sentence using regular expression.

2005-11-23 Thread Chris Devers
On Tue, 22 Nov 2005, Bob Showalter wrote: > [EMAIL PROTECTED] wrote: > > ... > > please give me the answers of these questions. > > Chris Devers will be along shortly... :~) Sorry, I was on vacation :-) Please, in the future, direct all such questions to [EMAI

Re: Looking for a perl wiki or BBS

2005-11-18 Thread Chris Devers
d with spam content, you can cut it off &/or delete it. -- Chris Devers ) [$ÜE"OÂM -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: ok GD::Graph question

2005-11-17 Thread Chris Devers
On Thu, 17 Nov 2005, Michael Gargiullo wrote: > I've been driving myself crazy with this for a few hours, any help > would be great. 1. Read the documents. 2. Write some code. 3. Show us the code you tried. Please demonstrate 1, 2, and 3, and we will be happy to assist you :-)

Re: How to do dos2unix for entire directory

2005-11-17 Thread Chris Devers
vilable to do exactly what you want to do, why reinvent it? Some assumption that your version of this particular wheel will be extra super duper round? Good luck with that... :-) -- Chris Devers \Ž?Çfê ¦¸#‚ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Hi All

2005-11-14 Thread Chris Devers
site like learn.perl.org. Start with some independent reading and practicing. And then come back to us once you're ready for the next step. -- Chris Devers ©957‚ˆðVÓ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: cookies

2005-11-14 Thread Chris Devers
e to do this when it's a problem that has been solved a hundred thousand times now -- just let CGI.pm do it. -- Chris Devers ˆ0%T [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: cookies

2005-11-14 Thread Chris Devers
d so far? Give us a hint that you've at least *tried* to answer such a Frequently Asked Question for yourself, and we'll be happy to help you out. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: info pls

2005-11-11 Thread Chris Devers
top of http://search.cpan.org/dist/DBD-ODBC/ODBC.pm This uses Perl's DBI module's DBD::ODBC driver to establish an ODBC connection to the database server of your choice. -- Chris Devers 3žå†ÄY÷S³c¡ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: perl compilers

2005-11-01 Thread Chris Devers
ller, faster, and much easier to maintain. But yes, if you really want to do this, it's possible. As the three second Google search I'm sure you did would have already told you :-) -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: How to change the Owner of a file

2005-10-31 Thread Chris Devers
here all the drivers are. It's a side effect, not the original purpose. Similarly, quota management is a *side effect* of the way permissions are set up -- they're something you get nearly for free once this framework is in place -- but they are not the primary purpose, nor is kee

Re: Dir Command to an array

2005-10-28 Thread Chris Devers
houldn't. The tool you're looking for, on Unix or Windows, is File::Find: $ perldoc File::Find It should, I believe, be a core module with recent Perl versions. -- Chris Devers ’õùo¯áVш¸ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: what happened to pdl.perl.org?

2005-10-27 Thread Chris Devers
snap071004.tar.gz -- along with some documentation -- http://pdl.sourceforge.net/PDLdocs/ Ah. This seems to be the home page now, look here: http://pdl.sourceforge.net/WWW/ -- Chris Devers ÊÉ4O NÌ=ÎBkÒ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: New Line Character(s)

2005-10-26 Thread Chris Devers
On Wed, 26 Oct 2005, Timothy Johnson wrote: > I think you can use \r instead of \n for Access and Excel. Are you sure about that? I thought Windows used \r\n as a pair (or \n\r?) for the line delimiter. But then, I don't do Windows anymore, so I could be wrong :-) -- Chris Deve

Re: How to decode raw G3 data to plain txt file

2005-10-26 Thread Chris Devers
:Client, both of which look possibly useful, though neither seems to directly mention "g3" :-/ :-/ -- Chris Devers Ö¬qåUî×uÓ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: log filtering

2005-10-25 Thread Chris Devers
slate it to Perl is better. Showing, specifically, what you've tried so far is best. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: extract zip file

2005-10-24 Thread Chris Devers
On Tue, 25 Oct 2005, Pant, Hridyesh wrote: How to extract zip file using perl program... Write the program, then run it. Have you tried writing it yet? Have you tried searching CPAN for helpful modules? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: CPAN module for file upload/download

2005-10-24 Thread Chris Devers
On Mon, 24 Oct 2005, Dhanashri Bhate wrote: Could anyone please suggest what module is available on CPAN for this? Take a look at WWW::Mechanize. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>

Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-20 Thread Chris Devers
, send specific questions -- "please help me write this script" is not a question we can help with, but "I can't get FOO to work" or "why doesn't BAR work the way I expect it to" are things we can help. -- Chris Devers -- To unsubscribe, e-mail: [EMA

RE: Need Some Guidance

2005-10-19 Thread Chris Devers
edition for you. If you can make a case that having the books will make you better at your job, then sometimes they'll let you expense the price of books. It's worth a try... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: major newbie

2005-10-19 Thread Chris Devers
/www.amazon.com/exec/obidos/tg/detail/-/1565926099 As for more concrete advice, that depends on the specific task. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Need Some Guidance

2005-10-19 Thread Chris Devers
well get started that way. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: ssh and sudo not working together....

2005-10-18 Thread Chris Devers
H.pm>, it looks like you might be able to use the ssh_cmd() method to set this up. Look up the section that mentions OPTIONS_HASHREF for hints, and good luck! -- Chris Devers ÷0~‹œg±êˆ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: Perldoc question...

2005-10-17 Thread Chris Devers
t and comfortable than reading it in a DOS / *nix terminal window. -- Chris Devers D3Y¸«ñm"á -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: config parser

2005-10-16 Thread Chris Devers
s is Config::IniHash, Config::Tiny, etc. There seem to be dozens... -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Identifying or finding paragraphs

2005-10-14 Thread Chris Devers
the regex. This might work: /\n\s*\n+/ But that doesn't properly check for spaces after the first newline. If that matters, you'll have to tweak it a bit further. Make sense? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: I need help here

2005-10-14 Thread Chris Devers
(this appears complete, but I want to be sure), and what the error message was. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: I need help here

2005-10-14 Thread Chris Devers
nd, $first ); } You should be able to apply that to each line of input to generate each line of output. There's lots of other ways to go about this as well though, and if you provide some code we can help you work through it. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-14 Thread Chris Devers
ample: this is a xml file and its content below Ulfet 24 I need to take Ulfet and 24. Great. That can be done. Show us what you've tried and we can try to help. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Sending HTML file as mail from mail command (mail -s )

2005-10-13 Thread Chris Devers
ng the whole thing in Perl, using a module such as Mail::Simple. (There's at least a dozen others that could also work, but anything with "::Simple" in the name is usually promising to start with.) Read over the documentation for that module and you should be able to find examples

Re: Please help me to get CONVERTER script which XML file convert to text

2005-10-13 Thread Chris Devers
stion twice. This question doesn't appear to have anything to do with CGI programming, so I'm deleting that CC. Again, if you have problems, show us the code you've tried, and we can try to help you. -- Chris Devers †ù -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: input web page question

2005-10-12 Thread Chris Devers
than repeating a FAQ to a mailing list that has already been asked and answered a million times. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: input web page question

2005-10-12 Thread Chris Devers
then I can only assume that you haven't actually done any searching for answers yet. Once you've tried that, and have some code that you need help with, then you can expect constructive responses from members of the list. So, again. What have you tried so far? -- Chris Devers

Re: input web page question

2005-10-12 Thread Chris Devers
p the html? "Try writing a program. That's a popular approach." "What have you tried doing so far? Show us some code." "Have you looked at LWP?" -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: keeping track of the 'age' of a file

2005-10-10 Thread Chris Devers
out how to throttle how much data users can upload. You'll be glad you did. Better still, figure out how other people are solving this problem, as your wheel is unlikely to be any rounder than theirs are. You'll be even gladder that you didn't have to write it from scratch. -- Chris

Re: two questions

2005-10-06 Thread Chris Devers
tely and have it do the download and install for you. > Is there a way to download the module and load it into the > unix ? Yes. See above. -- Chris Devers „!•¨1×oº³ÐÑ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Need help with Perl Book

2005-10-04 Thread Chris Devers
_. I'm not sure if it would be seen as a bit outdated now, but it seems like it had an excellent reputation a couple of years ago. A good place to keep looking is http://books.perl.org/. It has summaries and reviews of lots of Perl books, including the ones noted here. -- Chris Devers ðóúF

Re: regd. executing one perl file inside another perl file

2005-10-04 Thread Chris Devers
x27;s no substitute for a two line shell script. :-) -- Chris Devers CHï/ɞJgçÉ|þ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Need help with XML traversing....

2005-10-02 Thread Chris Devers
On Sun, 2 Oct 2005, Anish Kumar K. wrote: > Anyone could tell some site where I could get the script in JAVA > SCRIPT for traversing the XML with unlimited DEPTH(TREE). I do not > want to use the XML:: Modules available in PERL. Then you're asking utterly the wrong list. --

Re: How to enumerate modules loaded?

2005-10-01 Thread Chris Devers
d reply is relevant here; What have you tried so far? What code have you written? Show us what you've done and we can help you more. -- Chris Devers ýNîà¢øP)  -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Current directory?

2005-09-29 Thread Chris Devers
a (full) hash to a scalar will never work :-) -- Chris Devers 6f9A/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: WELCOME to beginners@perl.org

2005-09-28 Thread Chris Devers
; That would be very helpful for people with actualy helpful awnsers More broadly, read this, or at least skim it: http://www.catb.org/~esr/faqs/smart-questions.html The best way to get smart answers is to ask smart questions. The best way to get help is to make it easy for others to giv

  1   2   3   4   5   6   7   >