[31023] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 2268 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Mar 10 21:09:49 2009

Date: Tue, 10 Mar 2009 18:09:14 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 10 Mar 2009     Volume: 11 Number: 2268

Today's topics:
    Re: Ban Xah Lee <larry@example.invalid>
    Re: Ban Xah Lee <callen314@gmail.com>
        Comparing Date Strings <no_one@no.co3m45644.com>
    Re: Comparing Date Strings <cartercc@gmail.com>
    Re: Comparing Date Strings <no_one@no.co3m45644.com>
    Re: Comparing Date Strings <tadmc@seesig.invalid>
    Re: DBI select 'like' query <stoupa@practisoft.cz>
    Re: DBI select 'like' query <tadmc@seesig.invalid>
    Re: FAQ 9.8 How do I fetch an HTML file? <larry@example.invalid>
    Re: FAQ 9.8 How do I fetch an HTML file? <brian.d.foy@gmail.com>
    Re: FAQ 9.8 How do I fetch an HTML file? <tadmc@seesig.invalid>
    Re: Hiding cell values via WriteExcel module <smallpond@juno.com>
    Re: perl 5.8 or perl 5.10 <stoupa@practisoft.cz>
    Re: perl 5.8 or perl 5.10 <ben@morrow.me.uk>
    Re: perl 5.8 or perl 5.10 <tadmc@seesig.invalid>
    Re: perl as email client <larry@example.invalid>
    Re: perl as email client <tadmc@seesig.invalid>
    Re: Perl training ... <uri@stemsystems.com>
    Re: Perl training ... <no_one@no.co3m45644.com>
    Re: software design question <brian.d.foy@gmail.com>
        Where is the definition or documentation of PDF "defaul <r.ted.byers@gmail.com>
    Re: Where is the definition or documentation of PDF "de <brian.helterline@hp.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Tue, 10 Mar 2009 14:45:44 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: Ban Xah Lee
Message-Id: <dd3zrpgbjzzt.1999idzcbnnm4.dlg@40tude.net>

On Tue, 10 Mar 2009 01:15:19 -0400, Lew wrote:

> sln@netherlands.com wrote:
>> On Mon, 09 Mar 2009 22:08:54 -0400, Lew <noone@lewscanon.com> wrote:
>> 
>>> Larry Gates wrote:
>>>> For me, the worst thing is when I'm programming, and a bug *actually* gets
>>>> on my monitor.  In real life, I'm this tough person: a rugged tradesmen.
>>>> I'm so phobic of bugs that I'll run away screaming like a girl.
>>> I had a smudge on my monitor some years ago.  It was on the frame, not the 
>>> screen itself, but visible on the side.  The person next to me pointed at it, 
>>                                               ^^^^^^^^^^^^^^^^^
>> He said: "I work so close to you we must be telemarketers, does my body odor
>> bother you?"
> 
> Uhhhhh ...

There's nothing quite as Europaen as B.O.  Europe:  "where they have the
means to use soap but not the inclination."
-- 
larry gates

I'm not consistent about consistency, you see, except when I am...
And I try to believe six foolish consistencies before breakfast each day.
:-)
    -- Larry Wall in <20050307164019.GA14585@wall.org>


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

Date: Tue, 10 Mar 2009 14:21:02 -0700 (PDT)
From: Craig Allen <callen314@gmail.com>
Subject: Re: Ban Xah Lee
Message-Id: <82fdda78-ad5d-41f9-b1d6-bcaa5aeb7a38@p36g2000prp.googlegroups.com>

> There you go: a 30-second psychological diagnosis by an
> electrical engineer based entirely on Usenet postings. =A0It
> doesn't get much more worthless than that...
>
> --
> Grant

rolf but interesting post nonetheless.  I have been really somewhat
fascinated by AS since I heard of it about a decade ago.  There are
many among us, with interesting ideas, occasionally savant level
insight into certain abstractions, which often they can not
communicate but which lie there for those that can communicate or come
to understand nonetheless.

having said that, none of this forgives rudeness or implies people
have to tolarate it due to a person's condition, or even due to trying
to help them achieve their potential (and thus get something
productive out of it ourselves as well)...  that is, if you have these
communications problems you have to realize it, thank god you are
functional, and just that alone will help you communicate.

me, also IANAP, also working from usenet and an asperger's book I read
(and google)...


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

Date: Tue, 10 Mar 2009 14:31:06 -0500
From: "M" <no_one@no.co3m45644.com>
Subject: Comparing Date Strings
Message-Id: <L6ednYF33LSfXSvUnZ2dnUVZ_qPinZ2d@posted.haugcommunications>

I have a string like so "2009-02-10" and I need to determine if its over say 
x days old.  In this instance 5 days old.  Whats the best way to do that?  I 
imagine I first must parse the string into a date in perl.

M



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

Date: Tue, 10 Mar 2009 13:09:53 -0700 (PDT)
From: ccc31807 <cartercc@gmail.com>
Subject: Re: Comparing Date Strings
Message-Id: <220ae9e5-b968-45a2-9503-116af8944d22@r36g2000vbp.googlegroups.com>

M wrote:
> I have a string like so "2009-02-10" and I need to determine if its over say
> x days old.  In this instance 5 days old.  Whats the best way to do that?  I
> imagine I first must parse the string into a date in perl.

You don't say if it's older than five days from when. This would be
important.

Use Date::Calc. Delta_Days returns the difference in days. You can
parse the string like
my ($yr, $mo, $da) = split /-/, $string;

Alternatively you can Add_Delta_Days like this
($y1, $m1, $d1) = Add_Delta_Days($y2, $m2, $d2, 5);

CC


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

Date: Tue, 10 Mar 2009 15:18:55 -0500
From: "M" <no_one@no.co3m45644.com>
Subject: Re: Comparing Date Strings
Message-Id: <nI-dnQoC152lVivUnZ2dnUVZ_qPinZ2d@posted.haugcommunications>

>> I have a string like so "2009-02-10" and I need to determine if its over 
>> say
>> x days old.  In this instance 5 days old.  Whats the best way to do that? 
>> I
>> imagine I first must parse the string into a date in perl.
>
> You don't say if it's older than five days from when. This would be
> important.

I basically have a text file based database.  Each entry is stamped with 
something like "2009-02-10".  I want to remove any entries older then say 
five days.

> Use Date::Calc. Delta_Days returns the difference in days. You can
> parse the string like
> my ($yr, $mo, $da) = split /-/, $string;
>
> Alternatively you can Add_Delta_Days like this
> ($y1, $m1, $d1) = Add_Delta_Days($y2, $m2, $d2, 5);

Thanks.  This gives me a place to start.

M



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

Date: Tue, 10 Mar 2009 19:50:03 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: Comparing Date Strings
Message-Id: <slrngre2lr.1os.tadmc@tadmc30.sbcglobal.net>

M <no_one@no.co3m45644.com> wrote:
> I have a string like so "2009-02-10" and I need to determine if its over say 
> x days old.  In this instance 5 days old.  Whats the best way to do that?  I 
> imagine I first must parse the string into a date in perl.


Have a question about dates?

Try:

    perldoc -q date

        How can I compare two dates and find the difference?

        How do I find yesterday's date?


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Wed, 11 Mar 2009 00:46:30 +0100
From: "Petr Vileta \"fidokomik\"" <stoupa@practisoft.cz>
Subject: Re: DBI select 'like' query
Message-Id: <gp6usa$1sic$1@ns.felk.cvut.cz>

ccc31807 wrote:
> Running MySQL. I have a column in my table called 'eventdate' of type
> date with values that look like '2009-03-10'. I want to query by year
> and month only.
> 
> If I run this query: "SELECT * FROM EVENTS WHERE eventdate LIKE
> '2009-03%';" I get all March, 2009 events.
> 
> However, I can't seem to find the correct syntax to do this:
> 
> sub get_events_by_month
> {
>  my $d = shift;  # a value like '2009-03'
>  $dbh = con();   # internal function that connects to DB
>  $sth = $dbh->prepare("SELECT * FROM EVENTS WHERE eventdate LIKE ?
> %");
>  $sth->execute($t);
>  $hash = $sth->fetchall_hashref('id');
>  $sth->finish();
>  $dbh->disconnect();
>  return $hash;
> }
> 

sub get_events_by_month
{
 my $d = shift;  # a value like '2009-03'
 my ($year, $month) = split(/_/, $d);
 $dbh = con();   # internal function that connects to DB
 $sth = $dbh->prepare("SELECT * FROM EVENTS WHERE YEAR(eventdate)= ?
    AND MONTH(eventdate)=?");
 $sth->execute($year, $month));
 my $hash = $sth->fetchall_hashref('id');
 $sth->finish();
 $dbh->disconnect();
 return $hash;
}

-- 
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail.
Send me your mail from another non-spammer site please.)
Please reply to <petr AT practisoft DOT cz>



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

Date: Tue, 10 Mar 2009 19:56:14 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: DBI select 'like' query
Message-Id: <slrngre31e.1os.tadmc@tadmc30.sbcglobal.net>

Petr Vileta "fidokomik" <stoupa@practisoft.cz> wrote:

> sub get_events_by_month
> {
>  my $d = shift;  # a value like '2009-03'
                                       ^
                                       ^
>  my ($year, $month) = split(/_/, $d);
                               ^
                               ^
Oops.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Tue, 10 Mar 2009 17:22:03 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: FAQ 9.8 How do I fetch an HTML file?
Message-Id: <1iqj3pm0fvwiy$.lj0hqud23hzo.dlg@40tude.net>

On Tue, 10 Mar 2009 08:26:00 -0500, Tad J McClellan wrote:

>> Q2)  Why is the image not there either?
> 
> 
> Because there is in fact, no image there.
> 
> There is no HTML there at all...

I can't imagine what you mean by that.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta content="text/html; charset=iso-8859-1"
 http-equiv="Content-Type">
  <title>Looking For Witnesses</title>
  <style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
color: #000000;
}
body {
background-color: #FFFFFF;
}
 .style5 {color: #000000}
-->
  </style>
</head>
<body>
<div style="text-align: center;">
<table align="center" border="0" cellpadding="5" cellspacing="5"
 width="90%">
  <tbody>
    <tr>
      <td>
      <div style="text-align: center;">
      <h1 align="center"><span class="style5">Looking
For Witnesses</span><br>
      <br>
      </h1>
      </div>
      <div align="center">On November 7 at 4:28 p.m., I got run over by
a car two blocks from my
house at the intersection of Lomas and La Veta. &nbsp;I know there
were dozens of witnesses, but I was unable to do much at the time, as
the biker gets the worst of it. &nbsp;(She got some scratches on her
front, right bumper.)<br>
      <br>
While the ambulance is taking me away, this teenage girl tells the cop
that I ran
into her, when in point of fact she overtook and crushed my bike and
me,
because she wasn't looking in the direction she was accelerating.<br>
      <br>
So, we're going to trial, and I'll &nbsp;need &nbsp;as much as I can
get to show how this girl and her insurance company cannot rely on a
demonstrable fabrication.<br>
      <br>
      <img style="width: 640px; height: 432px;"
 alt="my bike is a pretzel" src="adsfgsdf.jpg"><br>
      <br>
To reach me, write to: <a
href="mailto:merrill@lomas-assault.net">merrill@lomas-assault.net</a>
      <br>
      <br>
All I need is a deposition about what you witnessed. &nbsp;Thank you.<br>
      <br>
      </div>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>

-- 
larry gates

Appearances to the contrary notwithstanding, I'm not trying to break
Perl 5 constructs just for the heck of it.
    -- Larry Wall in <20041206220054.GA10212@wall.org>


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

Date: Tue, 10 Mar 2009 18:06:00 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: FAQ 9.8 How do I fetch an HTML file?
Message-Id: <100320091806008268%brian.d.foy@gmail.com>

In article <1xzu1u5unga6k$.7r21zt6wlmgz$.dlg@40tude.net>, Larry Gates
<larry@example.invalid> wrote:

> On Mon, 9 Mar 2009 07:44:26 -0500, Tad J McClellan wrote:
> 
> > However, we should not use bad practice in our FAQ example code,
> > so it would better be:
> 
> [code elided]
> 
> I thought it might be something that could use a tweak.  It works without
> complaint for me:

I've completely replaced the FAQ answer. It's rather embarrassing that
the first suggestion was to shell out to lynx.

As for the rest of the code, it really has nothing to do with fetching
HTML, so I've solved that problem by removing it. 

That fixes the FAQ, but maybe not your question. :)


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

Date: Tue, 10 Mar 2009 19:37:54 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: FAQ 9.8 How do I fetch an HTML file?
Message-Id: <slrngre1v2.1os.tadmc@tadmc30.sbcglobal.net>

Larry Gates <larry@example.invalid> wrote:
> On Tue, 10 Mar 2009 08:26:00 -0500, Tad J McClellan wrote:
>
>>> Q2)  Why is the image not there either?
>> 
>> 
>> Because there is in fact, no image there.
>> 
>> There is no HTML there at all...
>
> I can't imagine what you mean by that.


I mean that there was no angle-brackety text in the argument
that you gave to new_from_content().

Look at the code I quoted.

Q: What did you supply as the argument to new_from_content()?

A: new_from_content($t)

Q: What value did you assign to $t?

A: $t = "http://www.lomas-assault.net";


There is no angle-brackety text there.

Just an "h" and a "t" and a "t" and...


You are a piece of work!

I do not believe you when you say that you have programming experience.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Tue, 10 Mar 2009 11:37:22 -0700 (PDT)
From: smallpond <smallpond@juno.com>
Subject: Re: Hiding cell values via WriteExcel module
Message-Id: <61993e14-fb06-4182-9742-7cbab998f478@e38g2000yqa.googlegroups.com>

On Mar 10, 12:37 pm, Jim Gibson <jimsgib...@gmail.com> wrote:
> In article
> <3f73be3a-b649-4cab-bb85-af953a3d4...@41g2000yqf.googlegroups.com>,
>
>
>
> smallpond <smallp...@juno.com> wrote:
> > On Mar 9, 8:32 pm, Jim Gibson <jimsgib...@gmail.com> wrote:
> > > In article
> > > <59d5b498-c9ec-47b6-9ede-77b77ba2d...@v13g2000pro.googlegroups.com>,
>
> > > The version of Spreadsheet::WriteExcel on my system (2.25) has a hidden
> > > attribute in the set_column method:
>
> > >     set_column($first_col, $last_col, $width, $format, $hidden, $level,
> > >       $collapsed)
>
> > > with examples:
>
> > >     $worksheet->set_column('D:D', 20,    $format, 1);
> > >     $worksheet->set_column('E:E', undef, undef,   1);
>
> > > Have you tried that?
>
> > I think that is for hiding formulas rather than values.
>
> It is for setting default values for columns. From the documentation:
>
> "The $hidden parameter should be set to 1 if you wish to hide a column.
> This can be used, for example, to hide intermediary steps in a
> complicated calculation:"
>
> Followed by the above examples.
>

Sorry. I thought set_column was applying the hidden property to
cells in the column, but it is actually hiding the whole column.
Too many uses of "hidden" in that program.


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

Date: Wed, 11 Mar 2009 00:53:58 +0100
From: "Petr Vileta \"fidokomik\"" <stoupa@practisoft.cz>
Subject: Re: perl 5.8 or perl 5.10
Message-Id: <gp6usa$1sic$2@ns.felk.cvut.cz>

Tad J McClellan wrote:
> Petr Vileta "fidokomik" <stoupa@practisoft.cz> wrote:
>> Ben Morrow wrote:
>
>>> Of course, I don't speak for p5p in any capacity.
>>>
>>
>> English is my second language, please what is "p5p" ?
>
>
> Perl 5 Porters.
>
> That is, the folks responsible for the development of Perl and perl.

Thanks, but this is curious ;-) Till now I believe that primary is perl for *nix 
made by perl.org people and other use this source code for ports for Mac and 
Windows, or implement to Linux distributions. Am I wrong?
-- 
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail.
Send me your mail from another non-spammer site please.)
Please reply to <petr AT practisoft DOT cz>



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

Date: Wed, 11 Mar 2009 00:55:24 +0000
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: perl 5.8 or perl 5.10
Message-Id: <soej86-ga52.ln1@osiris.mauzo.dyndns.org>


Quoth "Petr Vileta \"fidokomik\"" <stoupa@practisoft.cz>:
> Tad J McClellan wrote:
> > Petr Vileta "fidokomik" <stoupa@practisoft.cz> wrote:
> >> Ben Morrow wrote:
> >
> >>> Of course, I don't speak for p5p in any capacity.
> >>>
> >>
> >> English is my second language, please what is "p5p" ?
> >
> > Perl 5 Porters.
> >
> > That is, the folks responsible for the development of Perl and perl.
> 
> Thanks, but this is curious ;-) Till now I believe that primary is perl
> for *nix 
> made by perl.org people and other use this source code for ports for Mac and 
> Windows, or implement to Linux distributions. Am I wrong?

Practically all the ports of perl are maintained in the main development
tree on perl5.git.perl.org. It's true that once upon a time there was an
independant Win32 distribution maintained by ActiveState and a
separately-maintained MacPerl distribution for Mac OS Classic, but Win32
support was merged into the main trunk before 5.6 and MacPerl has been
abandoned along with the OS.

Most people who distribute perl packages (whether Linux distributers or
people like ActiveState) apply some patches to the official release
before packaging it. This is one of the reasons it's often a good idea
to build your own perl, since it's not clear these patches are always a
good idea.

Ben



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

Date: Tue, 10 Mar 2009 19:48:34 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: perl 5.8 or perl 5.10
Message-Id: <slrngre2j2.1os.tadmc@tadmc30.sbcglobal.net>

Petr Vileta "fidokomik" <stoupa@practisoft.cz> wrote:
> Tad J McClellan wrote:
>> Petr Vileta "fidokomik" <stoupa@practisoft.cz> wrote:
>>> Ben Morrow wrote:
>>
>>>> Of course, I don't speak for p5p in any capacity.
>>>>
>>>
>>> English is my second language, please what is "p5p" ?
>>
>>
>> Perl 5 Porters.
>>
>> That is, the folks responsible for the development of Perl and perl.
>
> Thanks, but this is curious ;-) Till now I believe that primary is perl for *nix 
> made by perl.org people and other use this source code for ports for Mac and 
> Windows, or implement to Linux distributions. Am I wrong?


    perldoc -q support

        Who supports Perl?  Who develops it?  Why is it free?

        What machines support perl?  Where do I get it?


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Tue, 10 Mar 2009 17:16:29 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: perl as email client
Message-Id: <grpkku1zeogb$.1qxhi1i0l8i3j$.dlg@40tude.net>

On Sat, 07 Mar 2009 08:12:58 GMT, Peter Wyzl wrote:

> DESCRIPTION
> This module implements a client interface to the POP3 protocol, enabling a
> perl5 application to talk to POP3 servers. This documentation assumes that
> you are familiar with the POP3 protocol described in RFC1939.
> 
> A new Net::POP3 object must be created with the new method. Once this has
> been done, all POP3 commands are accessed via method calls on the object.
> 
> 
> Surely you can read the rest yourself...

It took me till now to realize that if you know a module's name, you can
get documentation on it by typing 
perldoc Net ::POP3

I tried to adapt their source snippet there, but I've hit on an error
that's got the better of me:

C:\MinGW\source> perl html5.pl
Use of uninitialized value in numeric gt (>) at html5.pl line 18.

C:\MinGW\source>type html5.pl
use strict;
use warnings;

use LWP::Simple;
use HTML::TreeBuilder;
use HTML::FormatText;
use Net::POP3;

my $t = "http://www.lomas-assault.net";


my $host = 'pop.secureserver.net';
my $username = 'email1@lomas.net';
my $password = '';

my $pop = Net::POP3->new( $host);

        if ($pop->login($username, $password) > 0) {
          my $msgnums = $pop->list; # hashref of msgnum => size
          foreach my $msgnum (keys %$msgnums) {
            my $msg = $pop->get($msgnum);
            print @$msg;
            #$pop->delete($msgnum);
          }
        }

        $pop->quit;
# perl html5.pl

C:\MinGW\source>

Line 18 is
        if ($pop->login($username, $password) > 0) {

I think of the error as usually having omitted a "my", but I think I've got
that base covered. ??
-- 
larry gates

Part of language design is purturbing the proposed feature in various
directions to see how it might generalize in the future.
             -- Larry Wall in <199709032332.QAA21669@wall.org>


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

Date: Tue, 10 Mar 2009 19:54:48 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: perl as email client
Message-Id: <slrngre2uo.1os.tadmc@tadmc30.sbcglobal.net>

Larry Gates <larry@example.invalid> wrote:

> It took me till now to realize that if you know a module's name, you can
> get documentation on it by typing 
> perldoc Net ::POP3
>
> I tried to adapt their source snippet there, but I've hit on an error
> that's got the better of me:


That is not an error message.

It is a warning message.


> C:\MinGW\source> perl html5.pl
> Use of uninitialized value in numeric gt (>) at html5.pl line 18.


You can also use perldoc to look up messages that perl issues.


    perldoc perldiag

      Use of uninitialized value%s
      
      (W uninitialized) An undefined value was used as if it were already
      defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
      To suppress this warning assign a defined value to your variables.
      
      To help you figure out what was undefined, perl tells you what operation
      you used the undefined value in.  Note, however, that perl optimizes your
      program and the operation displayed in the warning may not necessarily
      appear literally in your program.  For example, C<"that $foo"> is
      usually optimized into C<"that " . $foo>, and the warning will refer to
      the C<concatenation (.)> operator, even though there is no C<.> in your
      program.


> I think of the error as usually having omitted a "my",


No, the message you get for violating "use strict" like that is:

      Global symbol "%s" requires explicit package name
      
      (F) You've said "use strict vars", which indicates that all variables
      must either be lexically scoped (using "my"), declared beforehand using
      "our", or explicitly qualified to say which package the global variable
      is in (using "::").


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Tue, 10 Mar 2009 14:15:04 -0500
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Perl training ...
Message-Id: <x73adlchqf.fsf@mail.sysarch.com>

>>>>> "KC" == Krishna Chaitanya <schaitan@gmail.com> writes:

  KC> Hi all, I'm looking for an online training program for Perl ..... from
  KC> beginner to advanced ... do you know of such good & reliable courses?
  KC> Also, what in your thought is necessary for an experienced but non-
  KC> computer-graduate programmer to do to take their skills to the next
  KC> level...? A full-time college degree is nice but not often practical
  KC> due to difficulty in obtaining leave (esp. in recession times like
  KC> these) .... any "home remedies" ?

the o'reilly school of technology is developing a perl course right
now. the first course is targeted to be out in september with 3 higher
level courses to follow. 

  KC> I've tried reading documents and tutorials on websites and books but
  KC> more often than not, I get bogged down by a lot of unfamiliar terms
  KC> from computer science and end up googling for hours on end on these
  KC> terms and definitions....it takes an awful lot of time to get around
  KC> to understanding the main issue that I began researching on...any help
  KC> or insight would be great!

i know the group and authors behind the o'reilly perl classes and they
are definitely aimed at people like you. if you can wait until the first
one is completed, i would say you should sign up.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


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

Date: Tue, 10 Mar 2009 15:14:10 -0500
From: "M" <no_one@no.co3m45644.com>
Subject: Re: Perl training ...
Message-Id: <RMydncCmQfCAVyvUnZ2dnUVZ_guWnZ2d@posted.haugcommunications>

> Hi all, I'm looking for an online training program for Perl ..... from
> beginner to advanced ... do you know of such good & reliable courses?
> Also, what in your thought is necessary for an experienced but non-
> computer-graduate programmer to do to take their skills to the next
> level...? A full-time college degree is nice but not often practical
> due to difficulty in obtaining leave (esp. in recession times like
> these) .... any "home remedies" ?
> 
> I've tried reading documents and tutorials on websites and books but
> more often than not, I get bogged down by a lot of unfamiliar terms
> from computer science and end up googling for hours on end on these
> terms and definitions....it takes an awful lot of time to get around
> to understanding the main issue that I began researching on...any help
> or insight would be great!

http://www.oreillyschool.com/courses/asac4/

From the same folks that bring "Learning Perl" and "Perl Cookbook".

M



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

Date: Tue, 10 Mar 2009 18:11:33 -0500
From: brian d  foy <brian.d.foy@gmail.com>
Subject: Re: software design question
Message-Id: <100320091811338214%brian.d.foy@gmail.com>

In article <x7mybuh3rg.fsf@mail.sysarch.com>, Uri Guttman
<uri@stemsystems.com> wrote:

> >>>>> "bdf" == brian d foy <brian.d.foy@gmail.com> writes:


> i don't see the major win having a separate emit routine. it is just the
> one line print statement so you have more code for little benefit.

You can override either without disturbing the other.


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

Date: Tue, 10 Mar 2009 11:54:56 -0700 (PDT)
From: Ted Byers <r.ted.byers@gmail.com>
Subject: Where is the definition or documentation of PDF "default user space  units"?
Message-Id: <cf05e4e2-c394-492a-a3ce-24049f038cbb@r34g2000vba.googlegroups.com>

Searching through the documentation for the PDF Perl packages'
documentation, I found very terse mention of "default user space
units", but I have yet to find what the default is, or how I can
change it (or at least make a call that says the coordinates provided
are in mm). To date, all my perl scripts that make PDF files use
coordinates determined by trial and error, but I want to change this
so I can just use coordinates in mm, or cm, and forget the tedium of
rerunning the script seemingly countless times to get the position of
text just right.

Thanks

Ted


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

Date: Tue, 10 Mar 2009 12:15:53 -0700
From: Brian Helterline <brian.helterline@hp.com>
Subject: Re: Where is the definition or documentation of PDF "default user space    units"?
Message-Id: <gp6e9a$i1n$1@usenet01.boi.hp.com>

Ted Byers wrote:
> Searching through the documentation for the PDF Perl packages'
> documentation, I found very terse mention of "default user space
> units", but I have yet to find what the default is, or how I can
> change it (or at least make a call that says the coordinates provided
> are in mm). To date, all my perl scripts that make PDF files use
> coordinates determined by trial and error, but I want to change this
> so I can just use coordinates in mm, or cm, and forget the tedium of
> rerunning the script seemingly countless times to get the position of
> text just right.

default units are 72dpi.  I've never changed them, just used them.

-- 
-brian


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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 2268
***************************************


home help back first fref pref prev next nref lref last post