On Tue, 2008-04-08 at 04:44 -0700, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am struck on how to write data into a MS-Access data base.
>
> I know how to retrieve data. I am using Win32::ODBC -- fetchRow to
> retrieve a complete row. I need to write this row into another table.
>
> Kindly suggest on
Don't need the pipe symbol. Use single quote for each argument.
> cat t2.pl
use strict;
use Data::Dumper;
print Dumper [EMAIL PROTECTED];
> perl t2.pl 'aa bb' 'cc dd'
$VAR1 = [
'aa bb',
'cc dd'
];
On 4/9/08, mitr <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a perl s
On Tue, Apr 8, 2008 at 3:46 PM, mitr <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a perl script, where I am passing more than 3 arguments, but I
> want to seperate them with |(pipe)or any other special charcater
> instead of blank space, cause the argument itself I have the space
> like " six
Hi,
I have a perl script, where I am passing more than 3 arguments, but I
want to seperate them with |(pipe)or any other special charcater
instead of blank space, cause the argument itself I have the space
like " sixty three".
For example c:\perl>perl sample.pl sixty three|fouty four| twenty two
On Tue, Apr 8, 2008 at 12:24 PM, Jonathan Mast
<[EMAIL PROTECTED]> wrote:
> I know this seems to be a very basic question, but I cannot figure out how
> to access a modules subroutines.
>
> We a module named FOO::BAR in which we access some hashes using this form:
> $FOO::BAR::hash1
> and it wo
On Wed, 2008-04-09 at 00:21 +0200, Jenda Krynicky wrote:
> From: [EMAIL PROTECTED]
> > I want to store a hash into an array: e.g.: like this
> >
> > #!/usr/bin/perl -v
> >
> > print "Content-type: text/html\n\n";
> >
> > $h{'hello'}="hello";
>
> This accesses the hash named %h.
From: "Pau Marc Munoz Torres" <[EMAIL PROTECTED]>
> #! /usr/bin/perl
> #use strict;
> use CGI::Ajax;
> use CGI;
>
> my $q = new CGI;
>
> my $concatter = sub {
>
> my $buffer = $ENV{'QUERY_STRING'};
>
> my @pairs = split( /&/, $buffer );
>
> foreach my $pair (@pairs) {
>
>
From: "Jay Savage" <[EMAIL PROTECTED]>
> On Mon, Apr 7, 2008 at 12:20 AM, Richard Lee <[EMAIL PROTECTED]> wrote:
> > my @cal_r = [ @Jan,@Feb,@Mar,@Apr,@May,@Jun,@Jul,@Aug,@Sep,@Oct,@Nov,@Dec
> > ];
> >
>
> take another look at perldoc perlref. what you've created, here, is a
> an array (@cal_r) w
From: [EMAIL PROTECTED]
> I want to store a hash into an array: e.g.: like this
>
> #!/usr/bin/perl -v
>
> print "Content-type: text/html\n\n";
>
> $h{'hello'}="hello";
This accesses the hash named %h.
> $h{'by'}="by";
> $a[0]=$h;
This accesses the scalar named $h.
Those t
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> I am struck on how to write data into a MS-Access data base.
>
> I know how to retrieve data. I am using Win32::ODBC -- fetchRow to
> retrieve a complete row. I need to write this row into another table.
>
> Kindly suggest on how to go about this.
Prabu Ayyappan wrote:
I want to Pass values for GET method. As like we pass value for POST method
When am passing the value through the Query String it is working
http://mylink?user=json%3A%5B%27testuser%27%5D
$req = HTTP::Request->new(GET => $url);
So why don't you stick with that?
I don
On Mon, Apr 7, 2008 at 12:20 AM, Richard Lee <[EMAIL PROTECTED]> wrote:
> I just read FAQ on finding out yesterday's time.
>
> I see that one of the easy way to find out is
>
> my $date = scalar localtime( ( time() - ( 24 * 60 * 60 ) ) );
> print "$date\n";
>
> and it works fine for me
>
> I a
I edited /usr/lib/perl5/5.8/CPAN.pm and worked fine (hope I didn't
break anything else :S). Just wrapped $file between ' char. The diff:
--- /usr/lib/perl5/5.8/CPAN.pm.org 2008-04-08 12:47:32.773732600
-0300
+++ /usr/lib/perl5/5.8/CPAN.pm 2008-04-08 12:45:44.999609700 -0300
@@ -5809,7 +5809,7
Mr. Shawn H. Corey wrote:
On Tue, 2008-04-08 at 13:12 -0400, Mr. Shawn H. Corey wrote:
If, on the other hand, FOO::BAR has:
our $sub1 = \&foo;
sub foo {
...
}
To access it:
$var1 = &( $FOO::BAR::sub1 )();
Oops, that should be:
$var1 = &{ $FOO::BAR::sub1 }();
ITYM:
$var1 = $FOO::B
On Tue, 2008-04-08 at 13:12 -0400, Mr. Shawn H. Corey wrote:
> If, on the other hand, FOO::BAR has:
>
> our $sub1 = \&foo;
>
> sub foo {
> ...
> }
>
> To access it:
>
> $var1 = &( $FOO::BAR::sub1 )();
Oops, that should be:
$var1 = &{ $FOO::BAR::sub1 }();
--
Just my 0.0002 million
On Tue, 2008-04-08 at 12:24 -0400, Jonathan Mast wrote:
> I know this seems to be a very basic question, but I cannot figure out how
> to access a modules subroutines.
>
> We a module named FOO::BAR in which we access some hashes using this form:
> $FOO::BAR::hash1
> and it works fine.
>
> When I
I know this seems to be a very basic question, but I cannot figure out how
to access a modules subroutines.
We a module named FOO::BAR in which we access some hashes using this form:
$FOO::BAR::hash1
and it works fine.
When I try to access a subroutine in that same module, using this form:
$var1
On Tue, 2008-04-08 at 07:06 -0700, [EMAIL PROTECTED] wrote:
> Hello,
>
> I want to store a hash into an array: e.g.: like this
>
> #!/usr/bin/perl -v
>
> print "Content-type: text/html\n\n";
>
> $h{'hello'}="hello";
> $h{'by'}="by";
> $a[0]=$h;
>
>
> and if i print out the array like this
>
Hello,
I want to store a hash into an array: e.g.: like this
#!/usr/bin/perl -v
print "Content-type: text/html\n\n";
$h{'hello'}="hello";
$h{'by'}="by";
$a[0]=$h;
and if i print out the array like this
print $a[0]{'hello'}." and ".$a[0]{'by'};
but it shows nothing. can somebody explain me
Hi,
I am struck on how to write data into a MS-Access data base.
I know how to retrieve data. I am using Win32::ODBC -- fetchRow to
retrieve a complete row. I need to write this row into another table.
Kindly suggest on how to go about this.
Sundeep
--
To unsubscribe, e-mail: [EMAIL PROTECTE
I have to modify a script to upload different data to a server,
until now i did and script that ask you a question and capture the variable
into a hash (see below), now, i would like to modify it and make something
that allows me to ask different questions using the same script
how can i do thi
I have to modify a script to upload different data to a server,
until now i did and script that ask you a question and capture the variable
into a hash (see below), now, i would like to modify it and make something
that allows me to ask different questions using the same script
how can i do thi
def a typo.. sorry about that
No problem at all. Just checking in case the PHP question was
missed or something. I know all about typos. I keep typing "funeral"
instead of "wedding" for June 28th.
LOL. That was a coffee on the monitor minute.
Congrats and good luck!
Thanks for the l
Hi,
I want to Pass values for GET method. As like we pass value for POST method
use strict;
use warnings;
my $browser = LWP::UserAgent->new;
my $word = $ARGV[0];
my $url = 'http://mylink';
my $response = $browser->post( $url,['q' => $word]);
die "$url error: ", $response->status_lin
24 matches
Mail list logo