On Apr 6, 7:45 am, paik...@gmail.com (Dermot) wrote:
> Hello All,
>
> I have a issue when I attempt to run a script on one host (B) that is
> called by ssh from other host (A).
>
> On host B, I have the script in /usr/local/bin/stuff.pl. The script
> has the following near the top:
>
> use strict;
On Wed, Apr 6, 2011 at 11:09 PM, Shawn H Corey wrote:
>>
>> Thanks a lot for all the replies, links and code snippets. I was
>> trying out a few examples from a few websites. And, I was also not
>> aware of perldoc until a few hours back. That does seem to be a good
>> way to provide help. J
The DROP Table is likely failing because the table has already been dropped.
One thing I noticed is that you set p1 to pippo using single quotes and p2 to
não using double quotes. Not sure if that would be preserved when swapping out
the parameters, but I would try using single quotes for defin
> "M" == Matt writes:
>>> You probably want something like:
>>>
>>> substr $x, 10, -10, " ... " if length $x> 25;
>>
>> Very neat Paul. My hat's off to you.
M> Worked perfectly too. Thanks Paul.
the real question is whether you read the docs on substr and understand
how t
>> You probably want something like:
>>
>> substr $x, 10, -10, " ... " if length $x> 25;
>
> Very neat Paul. My hat's off to you.
Worked perfectly too. Thanks Paul.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.
Hi Balachandran,
On Wednesday 06 Apr 2011 16:22:44 Balachandran Sivakumar wrote:
> Hi,
>
> I am trying to learn hashes in perl. I created an hash
> variable with 4 keys. I tried printing the keys in the hash by:(hash
> variable is %machines)
>
> foreach $key (keys %machines) {
> pr
On 11-04-06 10:06 AM, Robert Wohlfarth wrote:
On Wed, Apr 6, 2011 at 8:22 AM, Balachandran Sivakumar
wrote:
I am trying to learn hashes in perl. I created an hash
variable with 4 keys. I tried printing the keys in the hash by:(hash
variable is %machines)
foreach $key (keys %machines)
Hello All,
I have a issue when I attempt to run a script on one host (B) that is
called by ssh from other host (A).
On host B, I have the script in /usr/local/bin/stuff.pl. The script
has the following near the top:
use strict;
use warnings;
use lib qw(/etc/perl);
use MyApp::Image;
use MyApp::S
On Wed, Apr 6, 2011 at 8:22 AM, Balachandran Sivakumar wrote:
> I am trying to learn hashes in perl. I created an hash
> variable with 4 keys. I tried printing the keys in the hash by:(hash
> variable is %machines)
>
> foreach $key (keys %machines) {
> print "$key\n";
> }
>
In the pe
Hi,
I am trying to learn hashes in perl. I created an hash
variable with 4 keys. I tried printing the keys in the hash by:(hash
variable is %machines)
foreach $key (keys %machines) {
print "$key\n";
}
I noticed that the order in which the keys are printed is different
from the orde
The error continues:
DBD::Oracle::db do failed: ORA-00942: table or view does not exist
(DBD ERROR: error possibly near <*> indicator at char 11 in 'DROP
TABLE <*>my_table') [for Statement "DROP TABLE my_table"] at script.pl
line 31.
( n�o, não )
nok
DBD::Oracle::st execute failed: ORA-00932: inco
On Wed, Apr 06, 2011 at 10:24:37AM +0200, marcos rebelo wrote:
> Hi all
>
> I have already lost one day around coding and documentation with this
> problem, so I'm asking for help with DBD::Oracle.
>
> I'm working around the unicode and BLOB problem. Can someone help me
> setting the fooling code
It seems the problem can be solved by using POSIX exit.
(http://perldoc.perl.org/functions/exit.html )
Thanks to Chris who is in our IT department for pointing me to this. I
should have read it more carefully!
" The exit() function does not always exit immediately. It calls any
defined END routine
Hi,
>From: Chas. Owens [mailto:chas.ow...@gmail.com]
>Sent: Monday, April 04, 2011 6:40 AM
>My bet is you don't have enough RAM to hold all of that data; your OS
>is being forced to use swap. Your poor machine is so swamped it is
>taking that long to get back to normal.
>Each key in your hash
Hi all
I have already lost one day around coding and documentation with this
problem, so I'm asking for help with DBD::Oracle.
I'm working around the unicode and BLOB problem. Can someone help me
setting the fooling code running and correctly undling the Unicode
part
use strict;
use warnings;
us
15 matches
Mail list logo