perlfaq4: How do I convert between numeric representations?
"Using unpack;
$bin = unpack("B*", pack("N", 3735928559));
Using Bit::Vector:
use Bit::Vector;
$vec = Bit::Vector->new_Dec(32, -559038737);
$bin = $vec->to_Bin(); "
RT(F)M,
.ted
-Original Message-
From: f
(I'm resending this email because I got a kickback for NON-delivery)
this is a REAL basic question.
I need to do a conversion from DECIMAL to BINARY. Is there a built-in perl function
for this?
thanks
-frank
Frank DeLaTorre
Chief Hardware Architect
xzuberant! Systems
408.390.0415
www.x
this is a REAL basic question.
I need to do a conversion from DECIMAL to BINARY. Is there a built-in perl
function for this?
thanks
-frank
<>
"Camilo Gonzalez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Okay, I'm still struggling here. My problem is I have a client who has a
> rather large tab delimited text file I am attempting to slurp up and
> place in a MySQL table. The file is almost 6 megs large but my ISP only
One nice way to learn about hashes, arrays, scalars and references, is
to learn the perl debugger and just experiment.
There is a perl debugger tutorial in the perl documentation.
You can print out the arrays and hashes w/o putting print statements
into your code, and that makes the experimentat
"Catriona Wordsworth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> Needing a little assistance with some issues I am having trying to get my
script to print variable details into and email generated by the script.
>
> so far the script generates the email with (sendma
Hi guys,
Needing a little assistance with some issues I am having trying to get my script to
print variable details into and email generated by the script.
so far the script generates the email with (sendmail-t) etc
then goes on print MAIL "print this"
what I now want it to do is this...
if
On Thu, 5 Jun 2003 12:39:02 +0200 , [EMAIL PROTECTED] (Khalid Naji)
wrote:
>Hi,
>
>Is there any way to display a Tk/Perl application unter the browser?
>
>Thank you
>KN
Yes it's called the perlplus plugin
http://www.Lehigh.EDU/~sol0/ptk/ppl/ppl.html
It can be tricky to setup properly, but here
Okay, I'm still struggling here. My problem is I have a client who has a
rather large tab delimited text file I am attempting to slurp up and
place in a MySQL table. The file is almost 6 megs large but my ISP only
allows 2 megs of RAM per user. I can slurp up only about 1.5 megs before
I get an
Hi,
Is there any way to display a Tk/Perl application unter the browser?
Thank you
KN
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
thanks everyone who helped me by giving answers.!!
-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
Hi all,
A more CGI question this time.
The website I have found myself responsible for needs to be bi-lingual,
English and Japanese. My problem is, how do I persuade the CGI to
output in Japanese characters?
Can I use:
print "Content-Type: text/html\n\n";
print "Character-Set: shift-jis\n\n";
> I need my web site to automatically send an email
> confirmation. I'm using CGI Perl 5.6 on IIS on
> Win2000.
> What options are there for doing this?
MIME::Lite
Mail::Sendmail
Win32::OLE
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I have an nice little example that demonstrates how to
use COM from a console mode perl program.
However, I want to use COM from a perl CGI page and
microsoft discourages ASP programmers from createing
their own COM objects directly. ASP programmers are
encouraged to use the built-in Server object
I need my web site to automatically send an email
confirmation. I'm using CGI Perl 5.6 on IIS on
Win2000.
What options are there for doing this?
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
To un
HTTP is a stateless protocol, and as far as I know the best you can do is
"fake" statefulness. Seems like a bandwidth hog anyway, when you could
achieve the same purpose by either refreshing the HTML page at designated
intervals, or pull that information into a Java applet (you see it with
"news ti
16 matches
Mail list logo