>> The perlref docs state "Hard references are smart--they keep track of
>> reference counts for you, automatically freeing the thing referred to
>> when its reference count goes to zero." My interpretation of this is
>> that when a reference goes out of scope the memory used by
>> the referent i
Hi all,
The perlref docs state "Hard references are smart--they keep track of
reference counts for you, automatically freeing the thing referred to when
its reference count goes to zero." My interpretation of this is that when a
reference goes out of scope the memory used by the referent is freed
Sorry if this is a double post - I got a message saying it bounced...
> >> In truth, I used LWP because I was already using it in
> >> another part of the program, and because I thought the
> >> 'head' and 'getstore' functions would do
> >> what I needed (so it was out of laziness more than anyth
> > > I have a perl script that FTPs a file down from another server
> > [snip]
> > > I am not sure HOW to do the file size check.
> >
> > I wrote the following using the LWP::Simple module:
> >
> > print "beginning download of ", ftp_file_size( $ftp_path_gz ), "\n";
> >
> > $status = download_f
> I have a perl script that FTPs a file down from another server
[snip]
> I am not sure HOW to do the file size check.
I wrote the following using the LWP::Simple module:
print "beginning download of ", ftp_file_size( $ftp_path_gz ), "\n";
$status = download_file( $ftp_path_gz, $local_path_gz );
> You know, this is all sort of like using
>
> DocSet 0.16 from CPAN
> http://search.cpan.org/~stas/DocSet-0.16/
>
> Have you seen it?
Not until you just mentioned it. Looks interesting - thanks for the
suggestion!
Bob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
> > I'm trying to use POD to document my application. I have about 5
> > different doc files, and I'd like to create links between them when
> > they are translated from POD to HTML. For example, in doc
> file 1 I'd
> > like to say '...using the foo function, as described in > 2>...', and have
Hi all,
I'm trying to use POD to document my application. I have about 5 different
doc files, and I'd like to create links between them when they are translated
from POD to HTML. For example, in doc file 1 I'd like to say '...using the
foo function, as described in ...', and have the link open d
> > Since I anticipate using this module in multiple programs,
> > I'd like to keep the parameter list as generic
> > as possible (in terms of order and requirements).
>
> That is a worthy cause, but remember that the arguments
> that will be passed in need to be passed in a specific order:
>
>
Hello,
I have a subroutine that is contained within its own module and package. It
currently takes 7 different arguments, but only 2 of them are required
because I can set defaults for the other 5. Since I anticipate using this
module in multiple programs, I'd like to keep the parameter list as
Hello everyone,
I was reading about sort in the camel (3rd ed., p. 793) and I found that
sorting subroutines must be placed in the same package as they are called
from since $a and $b are package globals. Therefore, sorting functions
cannot be "modulized" without help. The camel suggests two wor
11 matches
Mail list logo