I am attempting to use gcrypt using a Perl interface
I have "perl -MCPAN -e 'install Crypt::GCrypt'" and installed it successfully.
I attempted to run the code in Perldoc, but get this error
Can't locate object method "new" via package "GCrypt::Cipher" (perhaps you
forgot to load "GCrypt::
the same error citing initialise instead of load.
Now, I am stuck.
Perl 5.8.3 on a debian 3.0 linux system
thanks!
--
John Fisher
Znyx Networks
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I am trying to figure out if there is a way to do a sort that doesn't involve putting
an entire file in memory. This kind of thing is available in apps like syncsort, where
you give it arguments and it uses disk space/virtual memory to do the work.
All the examples I am finding are slurping it i
I would say its a WinZip type file, but it only has one file in it. WinZip knows what
it is. Has an file extension of .zip, not .gz or .tar (my knowledge here is minimal).
I will look into Archive::Zip. I don't think Deflate compression was used so I may
have problems there as well. But hey I am
I am in a Windows environment using cygwin. The zip file has /r/n as a carriage return
(so annoying). When I ran the script below it dumped out a lot of bizarre chars to the
screen. I guess this is some of the zip metadata. Using unzip -p zipfile.zip it prints
cleanly. The doc states:
"At this
I have successfully used zgrep in a script and loved every minute of it (still wet
behind the ears).
sub pulldata
{
my $data = `zgrep $key $whichfile`;
print $data;
}
That command ran thru the whole zip file and dumped all the data, which for that app
was just one
What am I doing wrong? Here are 3 attempts at trying to use getchar. It seems I am
following the Usage, but I guess not.
$ perl -e 'use POSIX;$ab="10";$pab=POSIX::getchar($ab);print $ab,"\n",$pab;'
Usage: POSIX::getchar() at -e line 1
$ perl -e 'use POSIX;$ab="10";$pab=POSIX::getchar(STDIN);p
Ah, much better. Thanks.
>>> "Wiggins d'Anconia" <[EMAIL PROTECTED]> 09/11/03 10:42AM >>>
The web interface is very easy to use: http://search.cpan.org or is there some reason
why this must be done from the CLI? If so the limitation of scrolling is usually best
handled in the terminal window
I am extremely new to trying to navigate CPAN. I do it from a command line. While the
screen can dump out so much information the help screen is very limited. Is there a
document or the like that can give me more information on using CPAN.
When I tried doing a command like
i /Text::/
the scre
I am trying to figure out how clever it actually is.
I reversed \L\u with \u\L expecting different results and got the same result.
Another Company Name Ltd
Why didn't reversing the metacharacters change the results.
the \L escape forces lowercase
When written in lowercase (\l and \u), they affec
I have been using the split command happily for awhile, spliting up based on commas
and tildes.
However, I had a problem with a new file and noticed my script had created extra
fields.
If you have a file like this:
"Washington, George",909,"Abraham Lincoln",-100.00, "$10,500"
How can I appropri
Is qw for holding list of data and qx is for running commands?
Do they both indicate a list context?
Thanks,
John
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Been lurking for a bit. My first question. Please be kind.
I was reading a reply from Janek about using Text::CSV, Text::CSV_XS to simplify
splits on comma files.
I tried perl -e 'use Text::CSV''
... and got ...
===
Can't locate Text/CSV.pm in @INC (@INC contains: /usr/lib/perl5/5.
13 matches
Mail list logo