Gopal Karunakar asked:
> How can i declare a simple perl script file which will take
> arguments from the user? an example will be take two numbers and
> give the sum as output.
Do you want to pass the arguments on the command line or prompt for them after
starting your script?
In the firs
Rob Coops asked:
> I am just wondering if I sumbled upon an error in perl an error in my
> logic or somehtign else see the below perl one liners
>
> $ perl -e '$n = 0.945; $r = sprintf("%.2f", $n); print "$r\n";'
> 0.94
Short answer: You shouldn't use floating point numbers for financial
calcul
Thomas Bätzler:
asked:
Is there a general way to get linux OS's bound ip addresses? for
example, the IP on eth0, eth1 etc. Thanks.
http://search.cpan.org/~lds/IO-Interface-1.05/Interface.pm could be a "good
enough" solution for you.
Thanks. Looks a good solution for my question.
Peng.
asked:
> Is there a general way to get linux OS's bound ip addresses? for
> example, the IP on eth0, eth1 etc. Thanks.
http://search.cpan.org/~lds/IO-Interface-1.05/Interface.pm could be a "good
enough" solution for you.
I say "good enough" since it gives you all of the info that you'll get fr
alekto asked:
> I manage to generate the array from the input file, but it seems like
> there is something wrong with my subroutine at the end, I have been
> using the examples at cpan.org as an templat for this subroutine.
> Following is the error msg, as well as the complete script.
> hostname$
On Thursday 01 Apr 2010 12:25:51 Thomas Bätzler wrote:
> Doug Cacialli wrote:
> > The unicode / UTF16 issues presented by Thomas and Dr. Rudd are a
> > little beyond me. I'm reading up now, but can someone shed some
> > light?
>
> Let's see if I can quickly summarize:
> - text is made up from le
Doug Cacialli wrote:
> The unicode / UTF16 issues presented by Thomas and Dr. Rudd are a
> little beyond me. I'm reading up now, but can someone shed some
> light?
Let's see if I can quickly summarize:
- text is made up from letters (characters).
- a computer doesn't "know" letters, it only know
Doug Cacialli wrote:
> I'm completely baffled by this and not entirely sure where to start.
>
> I have a plain text file, testfile.txt, which contains a single line:
Could this be an encoding issue? How big is that file? Larger than 18 or 19
bytes?
If yes, http://perldoc.perl.org/perlunicode
On Tue, 17 Nov 2009 19:20:42 +1000, Thomas Bätzler
wrote:
Hi,
Jeff Pang wrote:
On Nov 17, 2009, Dave Tang wrote:
> Is it possible to implement an incremental find* feature on a Perl CGI
> page? I'm running Apache2 with mod_perl on linux.
>
> For example, if I have a list of stuff (A, Aa,
Hi,
Jeff Pang wrote:
> On Nov 17, 2009, Dave Tang wrote:
> > Is it possible to implement an incremental find* feature on a Perl CGI
> > page? I'm running Apache2 with mod_perl on linux.
> >
> > For example, if I have a list of stuff (A, Aa, B, Bb, C, CA, etc. stored
> > in a file or database)
On Monday 26 Oct 2009 10:05:05 Thomas Bätzler wrote:
> mahesh bhasme asked:
> > I am new to perl. From where I get the basic perl document
>
> Depends on your distribution, really. If you're on Windows and using the
> ActiveState Perl distribution, look for the html folder in your Perl
> instal
mahesh bhasme asked:
> I am new to perl. From where I get the basic perl document
Depends on your distribution, really. If you're on Windows and using the
ActiveState Perl distribution, look for the html folder in your Perl
installation directory.
On Unix, you might want to try perldoc or man
Dave Tang asked:
> I am having a problem with binding a variable when executing on a DBI
> object.
[...]
"You can only reliably bind values, not field or table names.
Database that plan query execution won't accept this, because they need table
and field names to make their query execution p
Sharan Basappa wrote:
> Clearly I did not communicate properly. So what I am looking is for
> some support to do some GUI stuff. The idea is take information from
> text and show it in the form a waveform. This will help a lot since
> it is rather difficult to go through the text file.
If you don
No, there are no binaries of 5.8.
Today, I not in mind to build it myself.
Have to code a little.
> -Ursprüngliche Nachricht-
> Von: Sudarshan Raghavan [mailto:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 26. September 2002 07:50
> An: Perl beginners
> Betreff: Re: perl 5.8.0 for AIX 4
;Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world." -- Albert Einstein [1879-1955]
-Original Message-
From: David T-G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 9:12 AM
To: perl beginners
Subject: Re: AW: Perl
Jason, et al --
...and then Angerstein said...
%
% full 64Bit support
Also full threading, I hear, though I think that those two are the real
meat of the upgrade. When I asked this question recently it basically
boiled down to "if you're happy with 5.6.1 then just stick with it" and
that's wha
full 64Bit support
> -Ursprüngliche Nachricht-
> Von: Jason Frisvold [mailto:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 29. August 2002 23:02
> An: [EMAIL PROTECTED]
> Betreff: Perl 5.8.0
>
> Ok, I'm a bit behind the times... :-)
>
> What are the major advantages (if any) to moving to
-
From: "Theuerkorn Johannes" <[EMAIL PROTECTED]>
To: "'Connie Chan'" <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 7:19 PM
Subject: AW: Perl Array Question
Hi Connie,
First of all thank you for your Help!
OK, that would work, but I have runtime vari
19 matches
Mail list logo