comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
October 2006
motuwethfrsasuw
      1 39
2345678 40
9101112131415 41
16171819202122 42
23242526272829 43
3031      44
2006
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  ANN:Just released "The Webmaster Collection"         


Author: jfmoreno
Date: Oct 2, 2006 22:21

A collection of tags, seals and buttons for your projects. While we
are calling it the 'Webmaster' collection, these images can be used in
any of your projects where you want to emphasize a special sale,
guarantee, purchase, new, etc. You are going to love look these images
will add to your projects.

Number of icons: 355 (947meg, 11,360 individual files) Awesome quality.
Formats: ico, .psd, .png, .gif, .bmp, .jpg, icns.
Sizes: 64x64, 72x72, 96x96, 128x128, 256x256

To preview and purchase the collection go to:
tp://www.1sticondesign.com/webmastercollection.htm

Questions? mail @ gitanosoftware . com
3 Comments
  Re: Modifying a one-liner         


Author: Tad McClellan
Date: Oct 2, 2006 20:47

A. Sinan Unur <1usa@llenroc.ude.invalid> wrote:
> Tad McClellan augustmail.com> wrote in
> news:slrnehvior.jkv.tadmc@magna.augustmail.com:
>
>> Paul Lalli gmail.com> wrote:
>>> vjp2.at@at.BioStrategist.dot.dot.com wrote:
>>>> Mind if I piggyback a request here?
>>>
>>> Yes. I do. There is no reason to post this message in an existing
>>> thread. Start a new topic.
>>
>>
>> That reply was pretty unAmerican of you!
>>
>> Message-ID: reader1.panix.com>
>
> Tad, I am continually impressed with your post classification and instant
> recall system (PCIRS) (Can't think of a better name right now ;-)
Show full article (1.05Kb)
no comments
  Re: OS X and perldoc         


Author: David H. Adler
Date: Oct 2, 2006 20:26

On 2006-10-02, Jim Gibson mail.arc.nasa.gov> wrote:
> If for some reason your Perl distribution is incomplete or you want to
> have the absolute latest (Mac OS X currently comes with 5.8.6, whereas
> 5.8.8 and 5.9.4 are out), go to <http::www.cpan.org> and download the
> latest source distribution. If you have installed the Mac OS X
> optional developer tools (XCode) that came with your OS distribution
> (or downloaded the latest from <http://www.apple.com/developer>), then
> you should be able to build and install a complete Perl distribution.
> The developer tools include a version of gcc for the Mac. There is a
> README.macosx file in the Perl distribution with some information
> about Mac-flavored Perl.

There is one LARGE caveat about that on OS X. Do NOT install your perl
over the one that comes with OS X. Apple tends to assume that the perl
the system came with is the one it's using for various things, and
changing that can cause subtle (and not so subtle) problems that can be
very annoying.
Show full article (1.50Kb)
no comments
  Re: newbie syntax question -> and =>         


Author: David H. Adler
Date: Oct 2, 2006 20:20

On 2006-10-02, David Squire wrote:
> Keith Keller wrote:
>> On 2006-10-02, usenet@DavidFilmer.com DavidFilmer.com> wrote:
>>> In the example you gave, "=>" is really like a comma in an array
>>> definition (it's called a 'fat comma').
>>
>> I've never heard that term, 'fat comma'. Does anybody know its origin?
>> A quick google search didn't turn up much, nor did perldoc perlop.
>
> It's in Damian Conway's "Perl Best Practices", for one.

But it certainly predates that. Unfortunately, that's about as helpful
as I can be at the moment. :-/

dha

--
David H. Adler - panix.com> - http://www.panix.com/~dha/
I'd redesign my program to something less absurd.
- Abigail, in comp.lang.perl.misc
no comments
  perl flawed or my fault         


Author: paul
Date: Oct 2, 2006 19:59

Hello all,

please help me the check the following code

use strict;

my $something = 'phal';
my $otherthing = 'paul';

my $note_whom = 'szmuzu\'mi';

defined($something) ? $note_whom = $something : $otherthing =
'singapore';

print "$note_whom \n $otherthing \n";

The result is: singapore
singapore

I don't know why the scalar $note_whom get the value that is assigned
to $otherthing.

Please give me the explaination, and thank you.
9 Comments
  Re: Modifying a one-liner         


Author: A. Sinan Unur
Date: Oct 2, 2006 19:27

Tad McClellan augustmail.com> wrote in
news:slrnehvior.jkv.tadmc@magna.augustmail.com:
> Paul Lalli gmail.com> wrote:
>>> Mind if I piggyback a request here?
>>
>> Yes. I do. There is no reason to post this message in an existing
>> thread. Start a new topic.
>
>
> That reply was pretty unAmerican of you!
>
> Message-ID: reader1.panix.com>

Tad, I am continually impressed with your post classification and instant
recall system (PCIRS) (Can't think of a better name right now ;-)

Thank you for the entertainment.

Sinan
no comments
  Please help me pass an array from VBA to Perl and populate it. Newbie at wits' end!         


Author: david.f.jenkins
Date: Oct 2, 2006 18:49

Well, I went and looked at the PDK Samples I got with the distribution,
and found nothing that would help me.

Here's what I want - surely this is child's play to experienced
Perlers:

I want to pass an empty container for a set of strings from VBA into
Perl, do some stuff in Perl, and populate the Collection with a set of
strings. I've stolen most of the PDK Perlctrl regex sample and made
some small mods to it to meet my requirements.

In general, the VBA side is easy, but I do have these VBA questions:
should the array be typed in VBA as a Collection? Variant? Object?
Something else? And why? Where is that documented?

I'm at a complete loss as to what to do on the Perl side:

1. How do I specify the parameter to the method? My intuition tells me
that it ought to be a scalar that contains a pointer (reference?) to
the Collection. If I type the parameter in VBA as a Variant...
Show full article (2.21Kb)
8 Comments
  Re: Perl Async .10         


Author: Sisyphus
Date: Oct 2, 2006 18:35

"Todd English" gmail.com> wrote in message
.
.
>
> The expected output would be 20 lines printed to the console saying the
> following:
> I have returned
> What happens instead is that some of lines fail to print the "I have
> returned" part of the message.
.
.
> ----------------sample code------------------
> #!/usr/bin/perl -w
>
> use strict;
> use Async;
>
> sub long_running_computation {
> system qq{find ./ -type f 2>&1 >/dev/null};
> return "I have returned"; ...
Show full article (1.31Kb)
no comments
  FAQ 2.11 Perl Books         


Author: PerlFAQ Server
Date: Oct 2, 2006 18:03

This is an excerpt from the latest version perlfaq2.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

--------------------------------------------------------------------

2.11: Perl Books

A number of books on Perl and/or CGI programming are available. A few of
these are good, some are OK, but many aren't worth your money. There is
a list of these books, some with extensive reviews, at
http://books.perl.org/ . If you don't see your book listed here, you can
write to perlfaq-workers@perl.org .

The incontestably definitive reference book on Perl, written by the
creator of Perl, is Programming Perl:

Programming Perl (the "Camel Book"):
by Larry Wall, Tom Christiansen, and Jon Orwant
ISBN 0-596-00027-8 [3rd edition July 2000]
http://www.oreilly.com/catalog/pperl3/
(English, translations to several languages are also available)
Show full article (7.71Kb)
no comments
  Re: Perl Async .10         


Author: Tad McClellan
Date: Oct 2, 2006 17:45

Todd English gmail.com> wrote:
> Tad,
>
> Thank you for that constructive remark. I will not quote an entire post
> in the future.

But you will in the present?
> I am not a Usenet wizard, but according to Google

Google is not Usenet.
> perl.beginners is a highly active Usenet group

perl.beginners is not a Usenet newsgroup.

It is a mailing list (with a gateway to news that Google Groups
treats as if it was an actual newsgroup).

My news server will not accept posts to newsgroups that do not exist...
> (http://groups.google.com/group/perl.beginners/about) so I am adding
> them back into the thread.

... so I took it back out (of this post).

(That has no effect on the rest of the thread.)
> Did you happen to have any insight into the Async issue?

No, else I would have given one.
Show full article (1.18Kb)
no comments
1 2 3 4