Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.perl.misc > #1691

variable-length strings

From Uno <Uno@example.invalid>
Newsgroups comp.lang.perl.misc, comp.unix.shell, misc.news.internet.discuss, comp.lang.c
Subject variable-length strings
Date 2011-06-01 03:36 -0600
Message-ID <94mfhcFngqU1@mid.individual.net> (permalink)

Cross-posted to 4 groups.

Show all headers | View raw


Hello from the land of enchantment,

I begin a crosspost herewith that I hope to make relevant to the 
newsgroups listed. It will take some time to get to there from here, but 
the ambition is to make it relatively lean with the topicality of each 
ng addressed and respected.  I am OP; if that's a problem for you, I'd 
like you to move on graciously.

It begins with perl, which I am currently reading.  So that's gonna be 
q1). There will be more questions in the same format, and I would like 
to make you aware of that as you consider an editorial choice.  OP 
suggests editorial choices that derive from the questions, that is, are 
trimmed with respect to q.

$ pwd
/media/KINGSTON
$ perl marni3.pl
death
$ cat marni3.pl
#!/usr/bin/perl -w
use Net::FTP;
my $domain = 'www.merrillpjensen.com';
my $username = 'u61210220';
my $password = '';
my $file = 'jac1.avi';


$ftp = Net::FTP->new($domain)    or die "Can't connect: $@\n";
$ftp->login($username, $password)       or die "Couldn't login\n";

$ftp->cwd('/wsb6326330301/resources/') or die "death $@\n";
$ftp->put($file) or die "put failed ", $ftp->message;

$

q1)  Why did I die?

I had a very successful day.  I could show it, except that I'm unable to 
communicate well with the internet.  This is usually the case when I try 
to extend my ubuntu capability.  I have something that hangs that 
wouldn't under a more firmly-established identity.

q2) [I imagine that I have a distinct question for each listed ng]  In 
testing, I've noticed a difference in file sizes between what I upload 
with ftp and what I download.  The files are 60 megs, conceived by 
apple, and I can't show what I'm saying until I get ftp working.

There's no way I can look at these files with a hex editor and my eyes. 
  Doesn't unix have a built-in way to compare them?

q3)

a)  Is there some newsgroup out there that considers web design, and not 
the kind where you have to give them money for their opinion.  If I paid 
$40 for usenet advice, it might be worse than what a hooker on central 
might do; it's given by people who want to make $40 on usenet.

alt.web.css.embedded.object.rus ?

q4)  and then the good people of c.l.c.  It looks like your tone has 
come a long way.  Down the road I'd like to consider how to pass 
information which is perl input to fortran output using the iso c binding.

Cheers,
-- 
Uno

Back to comp.lang.perl.misc | Previous | NextNext in thread | Find similar | Unroll thread


Thread

variable-length strings Uno <Uno@example.invalid> - 2011-06-01 03:36 -0600
  Re: variable-length strings ccc31807 <cartercc@gmail.com> - 2011-06-01 07:13 -0700
    Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-02 10:54 -0600
  Re: variable-length strings "George Mpouras" <nospam.gravitalsun@hotmail.com.nospam> - 2011-06-01 17:01 +0300
  Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:33 +0200
  Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:44 +0200

csiph-web