[Cialug] Quick scripting

Tony Bibbs tony at tonybibbs.com
Mon Aug 22 13:44:42 CDT 2005


For me it's what I know best.  I'd hesitate to give any real advantages 
since both are quite capable.  I personally find Perl harder to read but 
that too is attributed to the fact I don't know it very well.

David Stout wrote:
> Other than web programming what would be the advantage of using PHP over 
> perl?
> 
> */Tony Bibbs <tony at tonybibbs.com>/* wrote:
> 
>     Sorry for not noticing you saying that earlier. Was on vacation last
>     week so I haven't dug out of all the email yet.
> 
>     Yeah, I like using PHP particularly at work as I usually hook-up PHPDoc
>     to produce documentation for the sys admins. I'm sure by know Perl
>     probably has something similar.
> 
>     --Tony
> 
>     David Champion wrote:
>      > I mentioned earlier in the thread that I'd done a little PHP shell
>      > scripting, but not much.
>      >
>      > Ideally it would be nice to make use of common PHP libraries
>     between web
>      > & cmd line scripts. I usually get lazy and create PHP web pages
>     that I
>      > then call with a wget or something. Then I don't have to worry about
>      > having the php cmdline version available...
>      >
>      > -dc
>      >
>      > Dave J. Hala Jr. wrote:
>      >
>      >> I'm not doing it at the moment, but if I needed to write larger
>     shell
>      >> scripts I would definitely do them in php.
>      >>
>      >>
>      >> On Mon, 2005-08-22 at 12:51, Tony Bibbs wrote:
>      >>
>      >>> Am I the only one scripting with PHP? Most on this list probably
>      >>> know you can do it but I seldom see many PHP shell scripts. I know
>      >>> one of the issues is that Perl is generally included with most
>      >>> flavors of *nix but anymore the same seems to be the same with PHP.
>      >>>
>      >>> I'm not meaning to start a flame war on PHP vs Perl, just
>     curious if
>      >>> others do it.
>      >>>
>      >>> --Tony
>      >>>
>      >>> David Stout wrote:
>      >>>
>      >>>> WOW thank you, I have this web site book marked these are great
>      >>>> things to know as I take on my new position. I will of course be
>      >>>> bouncing a few questions off to you guys here and there as the
>     road
>      >>>> become a little rough.
>      >>>>
>      >>>> Thanks again,
>      >>>>
>      >>>> */Kenneth Ristau /* wrote:
>      >>>>
>      >>>> Josh More wrote:
>      >>>> > I *strongly* recommend the book _Learning Perl_
>      >>>> > http://www.oreilly.com/catalog/learnperl4/
>      >>>> >
>      >>>> > Once you've read that one cover to cover and done all the
>      >>>> examples, read
>      >>>> > _Programming Perl_ cover to cover.
>      >>>> > http://www.oreilly.com/catalog/pperl3/
>      >>>>
>      >>>> And once you've digested enough of those two and are looking for a
>      >>>> handy, online reference, check out http://www.perlmonks.org
>      >>>>
>      >>>> later,
>      >>>> kristau
>      >>>> -- Tired programmer
>      >>>> Coding late into the night
>      >>>> The core dump follows
>      >>>>
>      >>>> My GNUPG public key is available at
>      >>>> http://www.kristau.net/public_key.asc
>      >>>> _______________________________________________
>      >>>> Cialug mailing list
>      >>>> Cialug at cialug.org
>      >>>> http://cialug.org/mailman/listinfo/cialug
>      >>>>
>      >>>>
>      >>>>
>      >>>> David Stout
>      >>>> Business Forms Analyst
>      >
>      >
>      >
>      > _______________________________________________
>      > Cialug mailing list
>      > Cialug at cialug.org
>      > http://cialug.org/mailman/listinfo/cialug
>     _______________________________________________
>     Cialug mailing list
>     Cialug at cialug.org
>     http://cialug.org/mailman/listinfo/cialug
> 
> 
> 
> David Stout
> Business Forms Analyst
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug


More information about the Cialug mailing list