http://perlmeme.org/tutorials/cgi_form.html
I don't know of your skills with perl, but I think you might find
these tutorial useful; however, be aware of the security risks with
the flaws of bad code and usage of perl CGI. This should be for a
starter project, then refine the project for a product
Dennis Wicks wrote:
Greetings;
I want to setup a form on a web page that a visitor can fill in then
send it back to me by email so I can browse it online and print it out
locally in the correct format. I have the way to define the input form
figured out, but the transmission and browsing and
I want to setup a form on a web page that a visitor can fill in then
send it back to me by email so I can browse it online and print it out
locally in the correct format. I have the way to define the input form
figured out, but the transmission and browsing and printing the form are
giving me tr
Greetings;
I want to setup a form on a web page that a visitor can fill
in then send it back to me by email so I can browse it
online and print it out locally in the correct format. I
have the way to define the input form figured out, but the
transmission and browsing and printing the form ar
> "CS" == Chris Stinemetz writes:
CS> I would like to make an adjustment to this ternary operator.
CS> Instead of returning 0 if length( $dist ) is not > 1. I would like to
CS> return the last $dist value incremented by 0.1 mile so there is no gap
CS> of more than 0.1 miles.
one poin
On 3/28/11 Mon Mar 28, 2011 12:44 PM, "Chris Stinemetz"
scribbled:
> I would like to make an adjustment to this ternary operator.
> Instead of returning 0 if length( $dist ) is not > 1. I would like to
> return the last $dist value incremented by 0.1 mile so there is no gap
> of more than 0.1 m
I would like to make an adjustment to this ternary operator.
Instead of returning 0 if length( $dist ) is not > 1. I would like to
return the last $dist value incremented by 0.1 mile so there is no gap
of more than 0.1 miles.
$dist = sprintf "%.1f",
( length( $dist ) > 1 ) ? $dist/6.6/8/2*10/10 :
On Mon, Mar 28, 2011 at 12:10 PM, Katya Gorodinsky <
katya.gorodin...@ecitele.com> wrote:
> $random_bet_position = int(rand(3) + 1);
>
> $name = 'bet' . $random_bet_position;
> @selected_bet = @{$name};
>
> No no no.
Gosh no.
Don't do that.
http://perl.plover.com/varvarname.html
Brian.
2011/3/28 jj mahoney :
>
> Hi, How do I name this variable correctly, @{bet$random_bet_position);
> With regards to the script below, @selected_bet is suppose to select either
> @bet1, @bet2 or @bet3 depending on the chosen number held by
> $random_bet_position, so how do I do this? Thanks
>
> @b
Maybe this way:
@bet1 = (0,0,0,0);
@bet2 = (0,0,0,1);
@bet3 = (0,0,1,0);
$random_bet_position = int(rand(3) + 1);
$name = 'bet' . $random_bet_position;
@selected_bet = @{$name};
-Original Message-
From: jj mahoney [mailto:itshardtoget...@hotmail.com]
Sent: Monday, March 28, 2011 4
2011/3/28 jj mahoney
>
> Hi, How do I name this variable correctly, @{bet$random_bet_position);
> With regards to the script below, @selected_bet is suppose to select either
> @bet1, @bet2 or @bet3 depending on the chosen number held by
> $random_bet_position, so how do I do this? Thanks
>
> @bet
Hi, How do I name this variable correctly, @{bet$random_bet_position);
With regards to the script below, @selected_bet is suppose to select either
@bet1, @bet2 or @bet3 depending on the chosen number held by
$random_bet_position, so how do I do this? Thanks
@bet1 = (0,0,0,0);
@bet2 = (0,0,0,1)
On Mon, Mar 28, 2011 at 05:22, a b wrote:
> Thanks Rob
>
> I too was thinking that way. Just in case if any one might have face this
> issue and hence this email
>
> Well if no module i will live with it for time being
snip
The Unix dd command is a swiss army knife of copying data, could you
narr
From: "HACKER Nora"
> I am not sure whether this is really a Perl problem but maybe anybody
> can point me into the right direction: I am generating insert statements
> and writing them into a file for later execution. Most of the lines are
> written correctly:
>
>
>
> Obviously, two insert sta
Thanks Rob
I too was thinking that way. Just in case if any one might have face this
issue and hence this email
Well if no module i will live with it for time being
Regards,
a b
On Mon, Mar 28, 2011 at 2:46 PM, Rob Coops wrote:
> I had a quick look but I can only see people making system call
I had a quick look but I can only see people making system calls using
system() or exec() etc... which sort of makes sense as there is no such
command on pretty much any system except for *nix systems. I think you might
simply have to write your own implementation or simply rely on system calls
to
Hey Rob,
Yes, you are right
Thanks to mention this out.
I was referring to unix dd command. was wondering if we have any module
already available.
i didn't found on cpan
Thx
a b
On Mon, Mar 28, 2011 at 2:05 PM, Rob Coops wrote:
>
>
> On Mon, Mar 28, 2011 at 10:18 AM, a b wrote:
>
>> Hi,
>>
On Mon, Mar 28, 2011 at 10:18 AM, a b wrote:
> Hi,
>
> I want to know if any module for "dd" in perl is available.
>
> Any pointers will a great help
>
> Thanks,
> a b
>
Have you tried having a look at search.cpan.org?
Oh, by the way what does dd stand for? Acronyms are great and all but unless
Hi,
I want to know if any module for "dd" in perl is available.
Any pointers will a great help
Thanks,
a b
19 matches
Mail list logo