Re: Drawing an Arc at an angle.

2004-01-03 Thread Fred Nastos
On January 2, 2004 05:22 pm, Dan Muey wrote: > Hello List, > > I've made a funtion to calculate the Fresnal zone for wireless connections. > > What I'd like to do is generate an image based on that. Something like the > example at: http://ydi.com/calculation/fresnel-zone.php > > However the two con

Re: list problem

2003-12-15 Thread Fred Nastos
On December 14, 2003 03:09 pm, John W. Krahn wrote: > Fred Nastos wrote: > > On December 14, 2003 01:21 pm, km wrote: > > How about the old-fashioned way? > > > > for ($i=1; $i<=10) { > > print $i, "\n"; > > $i = $i + 3;

Re: list problem

2003-12-14 Thread Fred Nastos
On December 14, 2003 01:21 pm, km wrote: > > but if i need to set a hop for each number how do i get it ? something like > stride functionality so that it will print 1,4,7,10 something like > > for(1..10 ,jump 3) > { > print; > } How about the old-fashioned way? for ($i=1; $i<=10) { prin

Re: Frustrated newbie question

2003-12-06 Thread Fred Nastos
On December 5, 2003 12:53 pm, [EMAIL PROTECTED] wrote: > Help. I'm a frustrated newbie who wants to use Perl to make my life easier. > > The following simple task is only one small part of a program I'm trying to > put together to automate some things I currently do manually. > > I have a file whos

scalar reference in hash

2003-08-15 Thread Fred. Oger
this code prints : Before A: 5B: After A: 5B: 1 while the output I expect is like in the 2nd snippet Before A: 5B: 5 After A: 6B: 6 $a=5; $b=\$a; print "A: $a\tB: $$b\n"; $$b++; print "A: $a\tB: $$b\n"; What's my problem with the hash ? Regards, Fred.

Re: Check url for form submission

2003-03-11 Thread Fred Sahakian
I may be wrong, but some browser have problems giving referers properly causing your visitor not to be able use your CGI. >>> "Rob Dixon" <[EMAIL PROTECTED]> 03/10/03 06:52AM >>> Colin Johnstone wrote: > Gidday All, > > I have found this subroutine in someone else's program I need to > modify i

Re: Max Len for string in perl???

2003-03-04 Thread Fred Sahakian
I think I read the other day that it was unlimited, but I could be wrong (might have been PHP). Just keep it as short as possible. >>> "Luinrandir Hernsen" <[EMAIL PROTECTED]> 03/04/03 05:43AM >>> Hallo What is the maximum number of charecters in a string? $A=123456789 Lou -- To unsub

Fixed length variable

2003-02-11 Thread Fred Sahakian
I have data that prints to a flat file database. The data can sometimes be 1, 2, 3, or 4 characters in length. Id like to have it print a fixed length (6 characters) into the database, like this: xyz|fred |xyz instead of xyz|fred|xyz Is there a simple solution? I was going to count

Barcodes

2003-02-04 Thread Fred Sahakian
! Fred

Set cookie and then redirect

2003-01-09 Thread Fred Sahakian
Id like to set a cookie in Perl and then redirect to another URL. Ive tried the below code, it will set the cookie but then the browser hangs, is it because it is 2 requests going to the header at the same time, or possibly not enought time for the cookie to be set? print "Set-cookie: value=bob;";

Re: Code bar generator

2002-12-10 Thread Fred Sahakian
This one is good, Ive played with it before and there are no modules to install: http://www.barcodemill.com/ >>> Cleiton Luiz Siqueira <[EMAIL PROTECTED]> 12/10/02 09:56AM >>> Dear, I'm looking for code bar generator in perl. Either someone knows where can I find one or sending me a example? T

Re: Code bar generator

2002-12-10 Thread Fred Sahakian
http://www.fairfieldcomputers.com/barcode/docs.html Never used it though >>> Cleiton Luiz Siqueira <[EMAIL PROTECTED]> 12/10/02 09:56AM >>> Dear, I'm looking for code bar generator in perl. Either someone knows where can I find one or sending me a example? Thanks in advance, -- Cleiton Luiz

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
Im able to get my script running under strict; now, but I keep seeing this new error: "Use of uninitialized value in concatenation (.) or string at volunteer.cgi line 333" What does this mean? Line 333 is in the middle of a print command with a bunch of HTML in it. Any ideas?

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
that was it, thanks to all! >>> "Jenda Krynicky" <[EMAIL PROTECTED]> 11/27/02 11:20AM >>> From: "Fred Sahakian" <[EMAIL PROTECTED]> > Ok, I was able to get rid of all those error but now the CGI is not > picking up the data from the form.

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
11/26/02 04:58PM >>> On Tue, Nov 26, 2002 at 04:40:14PM -0500, Fred Sahakian wrote: > Hello, > > Im working a program and trying to get the pragma 'strict' to work. I > cant define a variable though, Im stuck, any ideas? > > my $changeaddress = $FORM{'ch

RE: Strict and variables

2002-11-26 Thread Fred Sahakian
; 11/26/02 04:52PM >>> Is that the first time that you are using $FORM in your script? -----Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: Strict and variables Hello, Im working a program and tr

Strict and variables

2002-11-26 Thread Fred Sahakian
Hello, Im working a program and trying to get the pragma 'strict' to work. I cant define a variable though, Im stuck, any ideas? my $changeaddress = $FORM{'changeaddress'}; I keep getting an error on the $FORM Using "my $FORM{'changeaddress'}" doesnt work. what is the correct way to handle

Fw: Congratulations List Members!

2002-11-07 Thread Fred A. Romani
- Original Message - From: Fred A. Romani Sent: Thursday, November 07, 2002 1:22 PM To: [EMAIL PROTECTED] Subject: Congratulations List Members! My background is Math, Sciences and Engineering. I like numbers. Because of that, sometimes I undertake little projects that, although not

Time change

2002-09-20 Thread Johnson, Fred
t;Content-Type: text/html\n"; print EMAIL "From:root\n"; print EMAIL "To: "email address"\n"; print EMAIL "To: "email address"\n"; print EMAIL "Subject: Event.log file has exce

Firewall

2002-04-17 Thread Fred Sahakian
Anyone know of a perl script that can determine if a website is actually behind a firewall? thanks!

database to mail

2001-12-24 Thread Fred Sahakian
Hi folks, So I have my mail program printing an e-mail based on info that is in a pipe delimited database. One of the arrays contains HTML paragraph symbols ( ) which I do not want to appear in the e-mail that is sent out. Any ideas? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Using the split function in creation of Hash

2001-08-03 Thread Johnson, Fred
EISA Configuration and Utility Partition  Program Versions   Compaq EISA Configuration Utility    Current ..(+) 2.39A Fred Johnson   Johnson, Fred.vcf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

R: download a file

2001-07-07 Thread Fred Fortin
>> Why don't you just do print qq~ >>http://my.host.com/name_of_file.xxx";>Click to getfile~; >>and let the browser handle the rest for you. >> >>Because in that case, files like .txt or .html would appear in the browser >>instead of being downloaded to my harddrive. This is not very helpfull >>

Re: download a file

2001-07-07 Thread fred
> Why don't you just do print qq~ http://my.host.com/name_of_file.xxx";>Click to getfile~; and let the browser handle the rest for you. Because in that case, files like .txt or .html would appear in the browser instead of being downloaded to my harddrive. This is not very helpfull (having those

download a file

2001-07-06 Thread fred
This problem might not be entirely related to Perl, but I'm pretty sure Perl can help solve it. Here is the thing : I want to be able to download a file (any kind of file) directly from my browser. I'm using this code below : #!/usr/bin/perl my $size = 19456 # 19k * 1024; my $fileName = "