Hi Tim,
Tim Bowden wrote:
Volume isn't always quality. There are some lists around where a
significant portion of the volume is the blind leading the blind. The
rest is experts trying to clean up the mess. Here the emphasis seems to
be a little more on not making a mess in the first place (
Harry wrote:
> In shell scripting, at least with bash, taking input from user is done
> with `read line' but you can say 'read -e line' and the input is
> suddenly done with bash completion.. and I think a few other niceties.
>
> Is there something similar in perl?
Chas O. ans
HI All,
I want to write perl script to automate SNMPv3 query and traps. Is there any
module that can be use for the same? Also what are the different functions
for the query / MIB file compilation and traps?
Please suggest
--
Rachit Gupta
r.rac...@gmail.com
91-9873242190
>> "BRH" == Bryan R Harris writes:
>
> BRH> Maybe this is just my own ignorance on big-endian vs. little endian,
> but
> BRH> this code:
>
> BRH> print "big-endian: ", unpack("H*", pack("d", -3205.0569059)),
> "\n";
> BRH> print "little-endian: ", unpack("h*", pack("d", -32
On Wed, Sep 23, 2009 at 19:16, Mike McClain wrote:
> On Tue, Sep 22, 2009 at 05:09:26AM -0400, Shawn H Corey wrote:
>> Roman Makurin wrote:
>> >Hi All!
>> >
>> >right now im doing it in following way:
>> >$size = @{[func_that_return_list_value]};
>> >
>> >is there any best way to do it ?
>> >
>> S
On Tue, Sep 22, 2009 at 05:09:26AM -0400, Shawn H Corey wrote:
> Roman Makurin wrote:
> >Hi All!
> >
> >right now im doing it in following way:
> >$size = @{[func_that_return_list_value]};
> >
> >is there any best way to do it ?
> >
> See `perldoc -f scalar` http://perldoc.perl.org/functions/scal
On Tue, Sep 22, 2009 at 08:55:32AM -0500, Ian wrote:
> On Mon, Sep 21, 2009 at 10:09 PM, Randal L. Schwartz
> wrote:
> >
> > Yup. I care when it might harm others. Otherwise, I tend not to
> > talk... plenty of other people here to give answers. I only doublecheck
> > answers anymore.
> >
>
> Y
On Wed, Sep 23, 2009 at 15:53, Bob McConnell wrote:
snip
> OK, that I can understand. However, I don't see where that was expressed
> or implied in the original query. Are you assuming that every current
> architecture and Perl implementation uses that format to store double
> precision numbers? I
Bryan R Harris wrote:
Bryan R Harris wrote:
I need to convert a number like this: -3205.0569059
... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
d3 (I just made up those 8 byte values).
Is this easy in perl? Are long and short ints easy as well?
$ perl -le'print
> "JWK" == John W Krahn writes:
JWK> AFAIK floating point numbers don't have endianness (but I may be wrong.)
JWK> (Besides, in the above example, endianness would be on the pack('d')
JWK> side of the equation.)
floats are no different than integers in that you must select the
ordering
Bryan R Harris wrote:
John W. Krahn wrote:
Bryan R Harris wrote:
I need to convert a number like this: -3205.0569059
... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
d3 (I just made up those 8 byte values).
Is this easy in perl? Are long and short ints easy as
> "BRH" == Bryan R Harris writes:
BRH> Maybe this is just my own ignorance on big-endian vs. little endian, but
BRH> this code:
BRH> print "big-endian: ", unpack("H*", pack("d", -3205.0569059)), "\n";
BRH> print "little-endian: ", unpack("h*", pack("d", -3205.0569059)), "\n"
On Wed, Sep 23, 2009 at 17:00, Bryan R Harris
wrote:
>
>> Bryan R Harris wrote:
>>>
>>> I need to convert a number like this: -3205.0569059
>>> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
>>> d3 (I just made up those 8 byte values).
>>>
>>> Is this easy in perl?
> Bryan R Harris wrote:
>>
>> I need to convert a number like this: -3205.0569059
>> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
>> d3 (I just made up those 8 byte values).
>>
>> Is this easy in perl? Are long and short ints easy as well?
>
> $ perl -le'prin
> "BM" == Bob McConnell writes:
BM> OK, that I can understand. However, I don't see where that was
BM> expressed or implied in the original query. Are you assuming that
BM> every current architecture and Perl implementation uses that
BM> format to store double precision numbers? Is th
From: Bryan R Harris
>> From: Uri Guttman
>>
"BM" == Bob McConnell writes:
>>>
>>> BM> From: Bryan R Harris
>
> I need to convert a number like this: -3205.0569059
> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52
>> 00 2a
>>> BM> bc 93
> d3 (I
On Wed, Sep 23, 2009 at 15:32, Bob McConnell wrote:
> From: Uri Guttman
>
>>> "BM" == Bob McConnell writes:
>>
>> BM> From: Bryan R Harris
>> >>
>> >> I need to convert a number like this: -3205.0569059
>> >> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52
> 00 2a
>
"Chas. Owens" writes:
> On Tue, Sep 22, 2009 at 23:10, Harry Putnam wrote:
>> "Chas. Owens" writes:
>>
How big of a chore would it be to include code into the script that
creates some kind of editor like environment and allows bash style
completion?
I'm a very low level
> "BRH" == Bryan R Harris writes:
>> From: Uri Guttman
>>
"BM" == Bob McConnell writes:
>>>
BM> From: Bryan R Harris
>
> I need to convert a number like this: -3205.0569059
> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52
>> 00 2a
> "BM" == Bob McConnell writes:
BM> From: Uri Guttman
>>> "BM" == Bob McConnell writes:
>>
BM> From: Bryan R Harris
>> >>
>> >> I need to convert a number like this: -3205.0569059
>> >> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52
BM> 00 2a
BM> b
> From: Uri Guttman
>
>>> "BM" == Bob McConnell writes:
>>
>> BM> From: Bryan R Harris
I need to convert a number like this: -3205.0569059
... into an 8-byte double (big and little endian), e.g. 4f 3e 52
> 00 2a
>> BM> bc 93
d3 (I just made up those 8 byte values
From: Uri Guttman
>> "BM" == Bob McConnell writes:
>
> BM> From: Bryan R Harris
> >>
> >> I need to convert a number like this: -3205.0569059
> >> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52
00 2a
> BM> bc 93
> >> d3 (I just made up those 8 byte values).
Bryan R Harris wrote:
I need to convert a number like this: -3205.0569059
... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
d3 (I just made up those 8 byte values).
Is this easy in perl? Are long and short ints easy as well?
$ perl -le'print unpack "H*", pack "d
>> I need to convert a number like this: -3205.0569059
>> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a
> bc 93
>> d3 (I just made up those 8 byte values).
>>
>> Is this easy in perl? Are long and short ints easy as well?
>
> The sprintf() family is your friend.
I
> "BM" == Bob McConnell writes:
BM> From: Bryan R Harris
>>
>> I need to convert a number like this: -3205.0569059
>> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a
BM> bc 93
>> d3 (I just made up those 8 byte values).
>>
>> Is this easy in perl?
From: Bryan R Harris
>
> I need to convert a number like this: -3205.0569059
> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a
bc 93
> d3 (I just made up those 8 byte values).
>
> Is this easy in perl? Are long and short ints easy as well?
The sprintf() family is your
I need to convert a number like this: -3205.0569059
... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00 2a bc 93
d3 (I just made up those 8 byte values).
Is this easy in perl? Are long and short ints easy as well?
Thanks!
- Bryan
--
To unsubscribe, e-mail: beginners-un
On Wed, Sep 23, 2009 at 08:46, ANJAN PURKAYASTHA
wrote:
> I've been reading these posts with a great deal of interest.
> I don't know what much of the fuss is about (having joined this forum about
> 2 years back), but I will say that I have had some VERY helpful responses
> from experts and beginn
I've been reading these posts with a great deal of interest.
I don't know what much of the fuss is about (having joined this forum about
2 years back), but I will say that I have had some VERY helpful responses
from experts and beginners alike.
For the most part this list does a great job in helpin
From: Steve Bertrand
> Steve Bertrand wrote:
> > Bob McConnell wrote:
>>>
>>> I have begun the task of automating functional tests for some of our
web
>>> servers. I have had some success using Selenium IDE in Firefox to
>>> capture input sequences, exporting them to Perl scripts, then using
the
>>
Tim,
> Given FOSS is supposed to be all about having fun, why don't we have a
> 'Friday Fun' challenge aimed at beginners?
I would absolutely LOVE such a challenge!
Regards,
Botond
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.or
I enjoyed writing my script in perl despite not being a computer
programmer, I get my need done without much stress, hence no need to
increase the mail volume on the list.
Perl6 definitely will take me higher to programming.
Perl is still the best for beginers at least you can write your novice
s
On Tue, 2009-09-22 at 09:59 -0500, Bryan R Harris wrote:
> > On Mon, Sep 21, 2009 at 10:09 PM, Randal L. Schwartz
> > wrote:
> >
> >>
> >> Yup. I care when it might harm others. Otherwise, I tend not to
> >> talk... plenty of other people here to give answers. I only doublecheck
> >> answers a
9/23/2009, "Shlomi Fish" вы писали:
>> Is there a perl tool for converting mbox files to MH directories?
[snip]
>Try the Mail::Box module:
>
>http://search.cpan.org/dist/Mail-Box/
>
>It seems to still be the best of breed in this regard from what some
>authoritative sources in the Perl Email Pr
Hi Alexey!
On Tuesday 22 Sep 2009 16:56:42 Mishustin Alexey wrote:
> Hello,
>
> Is there a perl tool for converting mbox files to MH directories?
>
> Google found only a tool on tcl [1] and a perl tool for converting mbox
> to Maildir [2].
>
> [1] - http://wiki.tcl.tk/15276
> [2] - http://batle
35 matches
Mail list logo