unknown CPAN variables

2001-05-31 Thread Paul Cotter
m [On Off]. Warning [/etc/inputrc line 7]: Invalid value `on' for variable `output-meta'. Choose from [On Off]. cpan shell -- CPAN exploration and modules installation (v1.59) ReadLine support enabled -- Regards - Paul Cotter Regards - Paul Cotter

Re: copying an array

2001-05-22 Thread Paul Cotter
er if I have code that goes: &dummysub( ) &realsub('paulus') . . sub realsub($) {} sub dummysub( ) {...} Has the realsub prototype been analyzed? I guess what I am asking is what constitutes seeing? Please correct glaring mistakes, misapprehensions, omissions and apocryphal statements. Regards - Paul Cotter

Re: Array Size Question(s)

2001-05-14 Thread Paul Cotter
while($ansNum < $numOfAns) where $ansNum starts at zero and is incremented until it is at $numOfAns(from the split line above, it's value should represent the number of elements in @A). This all works, but I would like to improve it and make it so that the user making the text file doesn't have t

Reverse engineering html->cgi

2001-05-14 Thread Paul Cotter
Does a package exist that will read an HTML document and generate an Apache::CGI or Apache::Registry cgi script? Even better if it accepts an <--PerlinHtml> comment tag. Regards - Paul Cotter

Re: CR LF with UNIX and Windows (DOSish?)

2001-05-14 Thread Paul Cotter
But if 'you' are using seek why have carriage returns anyway? It's not usually a good idea to have paper control embedded in fixed length records. If the problem is to print it then that can be done with a four line perl script, which is probably less lines than the modification to support multipl

Re: automatic cgi scripts?

2001-05-14 Thread Paul Cotter
My reply is slightly different to the others. I am going to define a cgi script as one that you send to a browser. If not, it is just a perl script and cron is what you need. If however you need information on a browser to be update then you can specify refresh in thdocument you send to the bro

Re: hex conversion

2001-05-10 Thread Paul Cotter
From: "Jeff Pinyan" <[EMAIL PROTECTED]> > On May 10, Paul Cotter said: > > >What combination of sprintf/pack/upack/asc/hex/xyz.pm etc will allow me > >to convert a string in to a string hex equivalent. I dare say, in Perl's > >little quirks there

hex conversion

2001-05-10 Thread Paul Cotter
'Ab c') # gives 41622063 Or is it a 'brew-your-own' - a sort of hexidecimate and reconstruct. Regards - Paul Cotter I though I had it with hex...fooled me again.

Re: Problems installing DBI help urgently required!!!!!!

2001-05-05 Thread Paul Cotter
Were you using CPAN or PPM? If you were using PPM it was not working for a chunk of yesterday (Friday EST) - but it works today. > I unzipped the DBI.zip into a dir and unpacked the DBI.jar file. > then I used ppm install DBI ,but it says > Error installing package could not locate a ppd file

Win32::Internet possible bug

2001-05-03 Thread Paul Cotter
I believe there is a bug in Win32::Internet. It's fairly simple and I have a fix. How do I 'report' it apart from emailing the author? Regards - Paul Cotter www.powermagic.net

Re: String deconstruction?

2001-05-02 Thread Paul Cotter
There are many ways, here is one that does not involve an array my $str = 'paul cotter'; print $1,$1 while ( $str =~ /^(.)/g ); The above prints ppaauull ccooeerr (just to show it is printing 1 at a time - twice). It is going therough $str one character at a time seeing if

Re: IF statements

2001-05-02 Thread Paul Cotter
$_ is equal to 'child' (and not just contains it) and if so executes the following block of code. This should be enouigh to understand how the case simulation above works. Paul Cotter www.powermagic.net /

Re: running Perl scripts in Windows as an .exe file

2001-04-28 Thread Paul Cotter
Lood at perl2exe from http://www.indigostar.com It's dollarware. From: "Paul Jasa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, 28 April, 2001 12:41 PM Subject: running Perl scripts in Windows as an .exe file > Could anyone tell me whether Perl needs to be installed on an NT bo

Re: self-appending code

2001-04-28 Thread Paul Cotter
Have a look at eval. You can build up your command string and execute it. The only difference is the scoping of the variables. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, 28 April, 2001 11:45 AM Subject: self-appending code > I created a first

Re: Perl documentation

2001-04-25 Thread Paul Cotter
> > $ perldoc NET::FTP > > No documentation found for "NET::FTP". > > > > Does this mean that there is no NET::FTP module on my box or there is no > > documentation available for this or the path is not set for getting the > > documentation. How do I do that. > > How can I know what are the availa