In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Need a little help
>
> I am using
>
> #!/usr/bin/perl -w
>
> use CGI qw/:cgi-lib/;
>
> print PrintHeader();
>
>
> This gives a result of
>
> Content-Type: text/html
>
> I need it to be
>
> Content-Type: text/xml
>
> How do I d
Hi,
I'm trying to copy a file to another preserving the file permissions (i'm
using NT 4.0).
I'm using File::Copy;
But when i copy a file to another the new file do not get the same
permissions as the old one...
I'm also trying to use syscopy ($file1, $file2);
but i got no success...
Thanks
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email addr
I hate to ask but why isnt this thing sending me to the frames page if I
already have the cookie?
if ($ENV{'QUERY_STRING'} eq "") {
&Get_Cookie;
if (exists($cookie{'SessionID'})) {
&MainFrames_Page;
} else {
&login_page;
}
}
R
Hi,
Anyone know how to get a whole random number in perl?
rand(18) always gives decimals I need just like 12 or 7 anyone know?
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at http://supportmanual.
Andre-
How about simply multiplying by 10,100 or what ever you need then
dropping the remaining decimal
I.E. Int(100*rand(18));
Andre` Niel Cameron wrote:
>
> Hi,
>
> Anyone know how to get a whole random number in perl?
>
> rand(18) always gives decimals I need just like 12 or 7 anyone kno