CGI question on param

2006-07-07 Thread Mike Martin
Does anyone know if there is any way to split the param list returned by CGI.pm by record ie: I have an input form which is populated from a DB query which can have unlimited numbers of records. When the parameters come in the individual params are split, but not the lines for each form. Is the

Removing print statements from cgi script

2006-06-30 Thread Mike Martin
Does anyone know if its possible to remove data printed from a web-page created from cgi.pm depnding on the effect of a sub-routine. ie: I print the header and a selection form which then runs a sub - is it posible to replace the contents without loading a new web-page Thanks -- To unsubscribe

Apache::Session Error.

2006-06-27 Thread Mike Blezien
Was hoping someone may be able to shed some light on this type of error. I know all sessions are closed properly or deteleted, when called for. TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution

Re: ImageMagick Error

2006-06-23 Thread Mike Blezien
Brian, - Original Message - From: "Brian Volk" <[EMAIL PROTECTED]> To: Sent: Friday, June 23, 2006 7:59 AM Subject: RE: ImageMagick Error -Original Message- From: Mike Blezien [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 8:08 AM To: Jeff Peng; be

Re: ImageMagick Error

2006-06-23 Thread Mike Blezien
lem, the first thing I checked. the script runs under the correct UID, as suexec is used, so the scripts don't run under "nobody" or apache. The premission on the folder/file is set correctly. MIke -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

ImageMagick Error

2006-06-23 Thread Mike Blezien
$i = $image->Read($imgtoread); error("Error Reading Image: $imgtoread $i","Reading Image Error") if $i; [/code] The $imagetoread is there, but keep getting the Error: Exception 435: unable to open image ... and haven't been able to identify what this error means ?? A

Re: Generate random list

2006-05-27 Thread Mike Blezien
Hello, - Original Message - From: "Dr.Ruud" <[EMAIL PROTECTED]> To: Sent: Saturday, May 27, 2006 9:39 AM Subject: Re: Generate random list "Mike Blezien" schreef: sometimes it lists the same image twice within the random array list created. perldoc

Generate random list

2006-05-27 Thread Mike Blezien
($i+1) == $maxstyles; } ## TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

ffmpeg and perl-gtk2

2006-05-08 Thread Mike Martin
I am not sure whether anyone can help here. I am building a gui for amongst other things ffmpeg and I seem to have hit an issue with ffmpeg. What I am trying to do is to run a ffmpeg command and then pass that to a TextView in the main window. ie: $fh-> "ffmpeg -i somefile opts outfile" which

Re: generate list in increments of 10's

2006-05-04 Thread Mike Blezien
John, - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: "Perl Beginners" Sent: Wednesday, May 03, 2006 10:58 PM Subject: Re: generate list in increments of 10's Mike Blezien wrote: Hello, Hello, is there a simple way to generate

generate list in increments of 10's

2006-05-03 Thread Mike Blezien
Hello, is there a simple way to generate a list of numbers from 0 - 1000 in increments of 10 IE: 0, 10, 20, 30, 40. ...etc IE: foreach (0..1000) { # create increments of 10's } TIA Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Setting Content-Length Header In CGI.pm

2006-04-17 Thread Mike Martin
Does anyone know if this is possible? I have a pair of scripts which take in up to 6 filefields, munge them so path info remains and get sent to shell commands. However after a certain amount of data I get a "Invalid Content-Length" error and it bombs out. Googled to no avail. As ever any help a

Question about File Uploads

2006-04-17 Thread Mike Martin
Hi I have a CGI script that uses filefields to get filenames before passing to the shell and I want to disable the creation of a tempfile. After googling for a while I cant find out where to turn this behaviour off. I have found references to $use_tempfiles variable, but am having difficulties work

Maintaining text format

2006-04-10 Thread Mike Blezien
Total$146.37 ---- TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work === -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Determine total days of month

2006-04-04 Thread Mike Blezien
Joshua, thank you, that will do the trick. :) Mike - Original Message - From: "Joshua Colson" <[EMAIL PROTECTED]> To: Cc: "Mike Blezien" <[EMAIL PROTECTED]> Sent: Tuesday, April 04, 2006 1:58 PM Subject: Re: Determine total days of month # Samp

Determine total days of month

2006-04-04 Thread Mike Blezien
Hello, I am trying to come up with a function, or formula calculation, to determine the total days of a given month, IE: April which has 30 days, Feb has 28 days, March has 31 days... etc Is there way to do this with Perl TIA, Mike(mickalo)Blezien === Thunder

Re: Upload error msg.

2006-03-20 Thread Mike Blezien
Tom, we'll give it a try... :) thx's Mike - Original Message - From: "Tom Phoenix" <[EMAIL PROTECTED]> To: "Mike Blezien" <[EMAIL PROTECTED]> Cc: "Perl List" Sent: Monday, March 20, 2006 9:59 AM Subject: Re: Upload error msg.

Re: Upload error msg.

2006-03-20 Thread Mike Blezien
Tom, do you know of a good work-around for this ? thx's Mike - Original Message - From: "Tom Phoenix" <[EMAIL PROTECTED]> To: "Mike Blezien" <[EMAIL PROTECTED]> Cc: "Perl List" Sent: Monday, March 20, 2006 9:48 AM Subject: Re: Uploa

Upload error msg.

2006-03-20 Thread Mike Blezien
orted?). does this mean the client aborted the upload before it was completed or is there a possible problem with the script? TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work ===

Re: Remote backup file

2006-03-15 Thread Mike Blezien
David, - Original Message - From: "David Moreno Garza" <[EMAIL PROTECTED]> To: "Mike Blezien" <[EMAIL PROTECTED]> Cc: "Perl List" Sent: Wednesday, March 15, 2006 4:57 PM Subject: Re: Remote backup file Mike Blezien wrote: Hello We do a

Re: Remote backup file

2006-03-15 Thread Mike Blezien
Hi, - Original Message - From: "JupiterHost.Net" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 15, 2006 12:49 PM Subject: Re: Remote backup file Mike Blezien wrote: Hello Hello, We do a nightly backup on server 1, and we need to put a copy of it also on ano

Remote backup file

2006-03-15 Thread Mike Blezien
odule be a good technique to use? TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing === -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org

Problem getting a value from a sub-routine

2006-03-14 Thread Mike Martin
Hi I have the following script (copied fairlay verbatim from gtk2-perl tutorial) and I cant seem to get the value out of the show_chooser sub-routine. It prints to the shell but doesnt seem to want to go any where else. I must be missing something simple. Any help appreciated #!/usr/bin/perl use

problems buiding perl 5.8.8

2006-02-17 Thread Mike Stevenson
x27;m using vfork() since i told it not to use fork(). however, i've also used fork() and not used vfork(). *it wants to use /usr/ucb/more despite the fact that i'm not on a unix-type machine and it knows so, so i'm telling it c:/windows/system32/more.com. i apologize for the leng

Re: Problem with with ParseExcel and file input

2006-02-17 Thread Mike Martin
On 2/16/06, Xavier Noria <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2006, at 18:35, Mike Martin wrote: > > > I have problems with reading in a file variable in > > Spreadsheet::Parsexcel. > > This is the relevant code. > > > > > > > >

Problem with with ParseExcel and file input

2006-02-16 Thread Mike Martin
I have problems with reading in a file variable in Spreadsheet::Parsexcel. This is the relevant code. use strict; use warnings; open (INPUT,"tele1"); my @input1=; foreach my $input1 (@input1){ my @out1=split (/\./,$input1); my $ext='.tab'; my $output1= "$out1[0]$ext"; open (OUT1,">>",$output1);

Re: Regex puzzler!

2006-02-08 Thread Mike Blezien
this is what I ended up doing and it seems to work, unless you see a potiental problem with it: $imageURL =~ //; $audioimage = $1; this give the image filename i needed. Mike Tom Phoenix wrote: On 2/8/06, Mike Blezien <[EMAIL PROTECTED]> wrote: I'm trying to extract an imag

Regex puzzler!

2006-02-08 Thread Mike Blezien
$1; but that produces errors. what I'm doing wrong here ?? TIA, -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Create thumbnail from webpage

2006-01-30 Thread Mike Blezien
Ing. Branislav Gerzo wrote: Mike Blezien [MB], on Monday, January 30, 2006 at 07:44 (-0600) made these points: MB> bash: pnmscale: command not found MB> bash: pnmtojpeg: command not found I never tried this utility, but know about that, if you get some thumbnails from it, let us kno

Re: Create thumbnail from webpage

2006-01-30 Thread Mike Blezien
s out. we installed what was required as listed here http://www.boutell.com/webthumb this is a perl utility that is suppose to capture a webpage and generate a thumbnail image. If any one has any info on getting this too work, it would be much appreciated if you can help out. TIA, Brano Gerzo wr

Re: Create thumbnail from webpage

2006-01-29 Thread Mike Blezien
all 3 work with file if needed The parameter you will pass will need fiddled with so that you grab only the part of the browser that is displaying the web page. Google it and you'll find a few scripts that use various browsers for XFree86. HTH :) -- Mike(mickalo)Blezien -- To uns

Re: Create thumbnail from webpage

2006-01-29 Thread Mike Blezien
Thanks, I think you head that one on head :) Randal L. Schwartz wrote: "Mike" == Mike Blezien <[EMAIL PROTECTED]> writes: Mike> "..we should also be able to pick up the front page of the web site and create Mike> a thumb-nail image of it .." That's p

Re: Create thumbnail from webpage

2006-01-29 Thread Mike Blezien
Chas, Chas Owens wrote: On 1/29/06, Mike Blezien <[EMAIL PROTECTED]> wrote: Hello, I need to create a thumbnail image of a webpage to be displayed in the browser. is there a perl module available that has this capability or can this be done with ImageMagick or GD? Been looking for a

Create thumbnail from webpage

2006-01-29 Thread Mike Blezien
, then need to take that data and create a thumbnail(snapshot) of it. TIA, -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Reading RSS/XML feeds

2006-01-21 Thread Mike Blezien
27;re looking for to create the template page. Or is there another module that work better? appreciate any feedback -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Large Uploads

2006-01-18 Thread Mike Blezien
Tom, Tom Phoenix wrote: On 1/18/06, Mike Blezien <[EMAIL PROTECTED]> wrote: is there a recommended method or proceedure, to prevent possible time-outs There aren't any time-outs built into Perl. Problem solved. :-) any feedback would be much appreciated. What time-

Large Uploads

2006-01-18 Thread Mike Blezien
is there a recommended method or proceedure, to prevent possible time-outs when uploading files that large, up to 4 files at a time ? any feedback would be much appreciated. TIA -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: contest software

2006-01-15 Thread Mike Blezien
I appologize for the obvious inappropritate post. was just looking for info, that's all. I am quiet aware what we need too do, but was just trying to find if something that may already be out there already available. Mike Chris Devers wrote: On Sun, 15 Jan 2006, Mike Blezien wrote:

Re: contest software

2006-01-15 Thread Mike Blezien
winning design is chosen, all entries into the project will be displayed to the public. thx's Mike John Meyer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Blezien wrote: Hello, we're looking for a good contest software written perl, for creating various types of contes

contest software

2006-01-15 Thread Mike Blezien
Hello, we're looking for a good contest software written perl, for creating various types of contests. before we embark on building from the ground up, wanted too see if there any out there that may meet our needs. any feedback would be appreciated. TIA, -- Mike(mickalo)Blezien

Re: interpolation

2006-01-10 Thread Mike Blezien
RxNumber FROM restoreReports WHERE Status in $Status)' something. print $sql; # should print: RxNumber in (select RxNumber FROM restoreReports WHERE Status in ('New','Old')) What can I do? -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Re: working with UK postcodes

2006-01-07 Thread Mike Blezien
thx's. this helps alot! :) Tom Phoenix wrote: On 1/7/06, Mike Blezien <[EMAIL PROTECTED]> wrote: we are trying to find some information for working with UK postcodes There seem to be some modules on CPAN. Will any of those help you? http://search.cpan.org/search?query=po

working with UK postcodes

2006-01-07 Thread Mike Blezien
resources that will work with the UK type postcodes similar to the above with US zipcodes thx's -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rai

Re: Captcha Images

2005-11-26 Thread Mike Blezien
Chris, Chris Devers wrote: On Sat, 26 Nov 2005, Mike Blezien wrote: we are currently implementing the Authen/Captcha validation scheme into a registration form. been searching Google to locate alternative images that can be used inplace of the default images used by the module, but without

Captcha Images

2005-11-26 Thread Mike Blezien
images maybe found, or if someone on the list my have create their own and my wish to share them :) TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To

Alternative use of the Authen::Captcha module

2005-11-22 Thread Mike Blezien
used by the Authen/Captcha module.? If anyone has done this, or has some information I can obtain to accomplish this, it would be much appreciated. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work

Re: combining array ref's

2005-11-11 Thread Mike Blezien
Thanks John, this helps get me in the right direction of what I'm trying to accomplish :) Mickalo John W. Krahn wrote: Mike Blezien wrote: Hello, Hello, what is the most effecient way to combine multiple array refs into one array ref, IE: my $arrayrefA = ['1',2'

combining array ref's

2005-11-11 Thread Mike Blezien
Hello, what is the most effecient way to combine multiple array refs into one array ref, IE: my $arrayrefA = ['1',2','3']; my $arrayrefB = ['4','5','6']; my $arrayrefC = ['7','8','9']; my $allarrayref = (Combine $arrayrefA $arrayrefB $arrayrefC) TIA, Mickalo -- To unsubscribe, e-mail: [E

Re: Checking pixel sizes

2005-11-04 Thread Mike Blezien
Thanks, apprecite it. that worked fine. zentara wrote: On Thu, 03 Nov 2005 15:29:33 -0600, [EMAIL PROTECTED] (Mike Blezien) wrote: Hello, I'm using ImageMagick to create thumbnails and other image manipulation with a upload script. And was wondering if the actual pixel size can be ch

Checking pixel sizes

2005-11-03 Thread Mike Blezien
install a separate module for this. A simple example would be appreciated if you know how this is done. TIA -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsu

Question using LWP

2005-08-25 Thread Mike Blezien
, even tho script B is producing a valid header() and result. But the only way I can execute and complete process is too allow script A to print out the header() and $response. How can I code this so script B($post_url) print out the final results instead of

Problem with DBD-Pg

2005-05-17 Thread mike
Since upgrading to FC4-test3 which has version 1.4.1 of DBD-Pg installed, placeholders no longer work for example the following code $cat='1'; #$cat=param('Category'); print $cat; print start_multipart_form (POST,'con_upd.pl'); $row=$dbh->prepare("SELECT type_code FROM lk_sort_of_contact WHERE de

Re: CGIs & CSS - References

2005-04-30 Thread Mike Lesser
gi folder aliased as /localhost/cgi-bin/, as well as a global web folder at /localhost/. I also can serve pages (only) from my user space at /localhost/~mike/] Can you construct a simple HTML file with the same @import call that fails in the same way your CGI script does? If so, then CGI is ru

CGIs & CSS - References

2005-04-30 Thread Mike Lesser
tive references to the stylesheets. I can only assume that it's an http.conf thing that I haven't been able to google up. Thanks Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: perl module to create pdf reports

2005-04-30 Thread Mike Lesser
Whoops! Top-post! Chris, Yes, I did search CPAN and found a lot of interesting modules. I will mention that I had asked for ideas and insights, over and above of just plain module names. I guess you often assume people do not search CPAN, and hence I can understand the frustration your email seems

CGI advice

2005-04-12 Thread Mike Lesser
(via some module like XML::Parser), or use CGI.pm? Should I create a layer between the query results and the HTML generation? I'm about to jump into CGI.pm anyway, since it seems like the logical place to start, but any advice appreciated... thx Mike -- To unsubscribe, e-mail: [EMAIL PROTECT

Re: Mail::Sender

2005-04-07 Thread Mike Blezien
subject => "$subject", ctype=> "text/html", encoding => "UTF-8" } ) or die $Mail::Sender::Error, "\n"; while () { $sender->SendEx($_) } close IN; $sender->Close(); } -- M

Re: .pm and .pl files.

2005-04-01 Thread Mike Lesser
ession that I should jump right to a pm. As a newbie this is a little daunting. Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: More Regex for Newbies

2005-03-29 Thread Mike Lesser
I'm fairly new too, but s/\(.*\)//g Should work? Thanks David. The "g" sort of throws me, but I had The Epiphany last night. I'm still a little bit confused, but I'm making headway now. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

More Regex for Newbies

2005-03-28 Thread Mike Lesser
7;s like pulling teeth, I think (i think..) what I want to do is match the stuff that's _not_ between the parens, and substitute that to nothing? Is that how to do it? Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: XML Generator DBI

2005-03-23 Thread Mike Lesser
-w is kind of pan-galactic and influences modules you're calling, regardless of their own 'warnings' settings. Try 'use warnings' without -w. See p861 in the camel 3rd edition. HTH, GStC. That's exactly what I needed to hear. Thank you Graeme! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

XML Generator DBI

2005-03-19 Thread Mike Lesser
pm line 180." Now it seems to me that if nulls are supposed to be handled by the modules, then why the warnings? Is it normal for modules to put out warnings during their normal function? I'm used to C/C++ environments where you normally eliminate any warning that appears.

DBI query

2005-03-15 Thread mike
Anyone got any any idea what is happening here $dbh=DBI->connect("dbi:Pg:dbname=data_cc",$user,$pw); $dump_dir='/home/data_cc/dump'; @names=$dbh->tables(); #$dbh->execute; #print @names; foreach $names(@names){ if (substr($names,0,9) eq "public.tb") { $file1= "$dump_dir\/$names"; $dbh->prepare("CO

DBI query

2005-03-15 Thread mike
Anyone got any any idea what is happening here $dbh=DBI->connect("dbi:Pg:dbname=data_cc",$user,$pw); $dump_dir='/home/data_cc/dump'; @names=$dbh->tables(); #$dbh->execute; #print @names; foreach $names(@names){ if (substr($names,0,9) eq "public.tb") { $file1= "$dump_dir\/$names"; $dbh->prepare("CO

Re: CGI and &sub question

2005-02-16 Thread mike
On Wed, 2005-02-16 at 14:36 -0500, Chris Devers wrote: > On Wed, 16 Feb 2005, mike wrote: > > > [Does] anyone [have] any ideas[question-mark] > > Post the code. > > We cannot help you without being able to see the code in question. > > > -- > Chris Deve

CGI and &sub question

2005-02-16 Thread mike
I have cgi script which works fine if I call another cgiscript. However if I transfer it to runas a sub within the original script some unwanted things happen some variables dissapear The script tries to run the run the sub on open, rather than after submit. After submitting, it is impossible to

CGI and &sub question

2005-02-16 Thread mike
I have cgi script which works fine if I call another cgiscript. However if I transfer it to runas a sub within the original script some unwanted things happen some variables dissapear The script tries to run the run the sub on open, rather than after submit. After submitting, it is impossible to

RE: CGI/DBI - Can anyone work out why this fails

2005-02-14 Thread mike
On Fri, 2005-02-11 at 08:02 -0500, Bob Showalter wrote: > mike wrote: > > I have the following code > > > > $cat1; > > if ($cat1){ > > my $cat1="%$category%"; > > The "my" here is scoped to this if { } block, so you aren't cha

CGI/DBI - Can anyone work out why this fails

2005-02-11 Thread mike
I have the following code $cat1; if ($cat1){ my $cat1="%$category%"; } else { $cat1="$category"; } $row=$dbh->prepare("SELECT contact_id,first_name,last_name,organisation FROM tb_contacts WHERE (organisation ILIKE ? OR last_name ILIKE ?) OR contact_id = ?"); $cat1; print $cat1; $row->bind_param

DBI problem

2005-02-09 Thread mike
I have the following query which works in psql SELECT to_char('05 Feb 2005'::date,'-MM-DD') However when I run it in DBI I get $row6=$dbh->prepare("SELECT to_char('2005-02-05'::date,'-MM-DD')"); #$row6->bind_param(1,'2005-02-05'); $row6->execute(); Can't call method "prepare" on an und

Re: split delimiters query

2005-02-02 Thread mike
On Wed, 2005-02-02 at 09:23 -0500, Wiggins d'Anconia wrote: > mike wrote: > > Am I right in thinking that if you double quote the seperator in split > > the seperator is added to the array ie: > > > > @array3=split(/"\t/",$value4); would add \t to the end

Re: split delimiters query

2005-02-02 Thread mike
On Wed, 2005-02-02 at 12:54 -0500, Jay wrote: > On Wed, 02 Feb 2005 12:39:17 +0000, mike <[EMAIL PROTECTED]> wrote: > > Am I right in thinking that if you double quote the seperator in split > > the seperator is added to the array ie: > > > > @array3=split(/"

split delimiters query

2005-02-02 Thread mike
Am I right in thinking that if you double quote the seperator in split the seperator is added to the array ie: @array3=split(/"\t/",$value4); would add \t to the end of @array3 while @array3=split(/\t/,$value4); would not -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Adding to a hashref

2005-01-04 Thread Mike Blezien
existing $params hashref values # already assigned. $params->{$name} = $value; } Now I will have all the form parameters and the parameters from the tempfile added to the hashref $params. TIA. -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Password Encryption

2004-12-29 Thread Mike Blezien
Thx's works like a charm. :) zentara wrote: On Tue, 28 Dec 2004 08:14:37 -0600, [EMAIL PROTECTED] (Mike Blezien) wrote: Hello, Been trying to figure out how to encrypt a password w/Perl so it's uses the same scheme used in a webmin control panel for password protecting directories

Password Encryption

2004-12-28 Thread Mike Blezien
ind the correct format. This is a sample of a encyrpted password generated by the control panel: $1$03838433$k1ZFcLyZ13Q8tU.3WpK9o1 Is there a Perl method to encrypt plain text password in this same manner ?? TIA. :) -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Inte

Re: Hash problem

2004-12-26 Thread Mike Blezien
Randy W. Sims wrote: Mike Blezien wrote: Hello, I'm working on settup a hash something like this: my $catid = 'A'; my(%conf); $conf{cat} = { A => ( ["15.00","Three months(90days)","90"],

Hash problem

2004-12-26 Thread Mike Blezien
ot;,"Twelve months(365 days)","365"] ) }; print header(); for (my $i=0; $i<@{$conf{cat}->{$catid}}; $i++) { print qq~CatPrice: $conf{cat}->{$catid}[0] CatDays: $conf{cat}->{$catid}[2]~; }

Recommend

2004-12-22 Thread Mike Blezien
ck is much appreciated :) Happy Holidays, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
Thanks! Mike D . MYTEST #!/usr/local/bin/perl use Getopt::Long; GetOptions("o"=>\$oflag, "string=s"=>\$stringmandatory, "int=i"=> \$mandatoryinteger, print "oflag $oflag\n" if $ofl

Re: Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
--- [EMAIL PROTECTED] wrote: > > > - Original Message - > From: Mike Donnelly <[EMAIL PROTECTED]> > Date: Tuesday, December 21, 2004 10:58 am > Subject: Getopt::Long , handles the number zero > differently.. > > Hello > > > > > &

Getopt::Long , handles the number zero differently..

2004-12-21 Thread Mike Donnelly
Thanks! Mike D . MYTEST #!/usr/local/bin/perl use Getopt::Long; GetOptions("o"=>\$oflag, "string=s"=>\$stringmandatory, "int=i"=> \$mandatoryinteger, print "oflag

Authen-Captcha Module

2004-12-13 Thread Mike Blezien
Hello, was wondering if any one has use the Authen-Captcha module for doing form validations with the images. and how well it works. And if used, what type of images did you use or work best. TAI, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet

Currency Conversions

2004-12-10 Thread Mike Blezien
Hello, Can some recommend a good Perl Module for converting pounds, euros, and yin to US dollars. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To

Re: Frowarding mail automatically through script

2004-11-27 Thread Mike Blezien
ttachments if needed... just about any type of email requirements one would need all in one module. IMHO . . . :-) -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/

Re: using Mail::Sender

2004-11-20 Thread Mike Blezien
Gunnar Hjalmarsson wrote: Mike Blezien wrote: I was hoping someone maybe able to supply a simple code example using the Mail::Sender module for sending a message via SMTP w/authentication, a message body and attaching an image to the email. I've been reading through the examples on the CPAN

using Mail::Sender

2004-11-20 Thread Mike Blezien
te, but haven't quiet gotten it figured out yet. Any help would be much appreciated. TIA -- Mike(mickalo)Blezien -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Strange Error

2004-10-25 Thread Mike Blezien
Gunnar Hjalmarsson wrote: Mike Blezien wrote: What does this type of error indicate, I never encountered this type of error before. - Modification of a read-only value attempted at /home/www/cgi/somescript.cgi line 151

Strange Error

2004-10-24 Thread Mike Blezien
$sparam (param()) { ${$sparam} = param($sparam); } # line 151 TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com/ Tel: 1.712.395.0670 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To

IDE for web pages produces by Perl/MySql

2004-10-10 Thread Mike K
G'day... I'm wanting to use Perl with MySQL to produce web pages, and then process the results. Are there any IDEs (like PageMill, Dreamweaver, etc) that understand Perl or can write templates that Perl can understand using a particular package? All help appreciated. Thanks Mike (Pl

Re: dbm-file versions

2004-09-09 Thread Mike Blezien
Chad Kellerman wrote: Johann, I have had the same problem. Check, I bet the versions of Berkley DB are different. Chad Johann Spies wrote: We have a situation that we need to open a dbm-file but cannot do so using perl version 5.8.4-2 on Debian Sarge. The following script fails, but the sam

sub routine syntax

2004-09-06 Thread Mike Blezien
Hello All, We've been revamping alot of our older perl scripts and a question came up that I wasn't a 100% clear on. When calling sub routines, is there a significate difference in these formats: 1) some_subroutine(); 2) &some_subroutine; 3) &some_subroutine(); is one a more prefered or more eff

Testing for empty value

2004-08-05 Thread mike
I have the following code print "date times",@date,br; if ($ti1){ print "time 1 is not empty"; } else { print "time 1 is empty"; } If there is a value it works but not if there isn't ie: if there is a value it prints "time 1 is not empty", but if there is not nothing comes out anyone any ideas?

Install modules locally

2004-07-22 Thread Mike Blezien
Hello, I seemed to recall an earlier posting regarding instruction on how to install Perl modules locally when one doesn't have root access, but was able to find the thread. Can someone possible post that info again. Much appreciated :) -- MikeBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thun

Re: RegEx Question

2004-07-18 Thread Mike Dillinger
Hi Roy, --- Original Message From: Zysman, Roiy <[EMAIL PROTECTED]> Date: Sunday, July 18, 2004 at 01:14AM PDT ZR> Is there a way to extract a filename out of a path string using just one ZR> RegEx and not using the split function ? ZR> For Example, I want to extract foo.txt from /my/long/path/f

Re: Help translate into Perl

2004-07-16 Thread Mike Blezien
James Edward Gray II wrote: On Jul 16, 2004, at 4:51 PM, Mike Blezien wrote: hello, I have been given some programming code that I need to convert or translate into perl coding, and I was hoping someone on this list maybe able to help me out. What have you tried? We will help you when you get

Help translate into Perl

2004-07-16 Thread Mike Blezien
hello, I have been given some programming code that I need to convert or translate into perl coding, and I was hoping someone on this list maybe able to help me out. I have a vague idea what it's suppose to be doing, but some of it isn't real clear. Below is the psuedo-code sample # START

Cookie's parameter

2004-07-15 Thread Mike Ni
Hey everyone, I am new perl beginner and am trying to find a way to grap the value returned by a cookied stord with the user's browser. Basically, what I am dealing with is a internet subscription system. The user need to log in before anything can be done. I need to program the server to re

Uploading problems

2004-07-14 Thread Mike Blezien
Hello, got a script that uploads images, and have used the same coding before with no problems, worked like a charm. But for some reason, when I use this coding now, it produces a '0' bytes size image, the image is upload OK, in the proper folder, the correct image name is created, but it's zer

Re: A simple text or GUI-based menu script

2004-07-13 Thread Mike Flannigan
e to find Proc::ProcessTable on ActiveState. I run Win2000, and I probably won't get this script to run. Mike Flannigan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

<    1   2   3   4   5   6   7   8   >