Hi,
M. Lewis [EMAIL PROTECTED] asked:
Charles K. Clarkson recently replied to Sreedhar Reddy in
which one of the corrections he made was:
open my $fh, '', $input_file or die qq(Cannot open
$input_file: $!);
[...]
When I have opened a file, I have always done:
open (FILE, $file) ||
Thanks Thomas. Appreciated.
Thomas Bätzler wrote:
Hi,
M. Lewis [EMAIL PROTECTED] asked:
Charles K. Clarkson recently replied to Sreedhar Reddy in
which one of the corrections he made was:
open my $fh, '', $input_file or die qq(Cannot open
$input_file: $!);
[...]
When I have opened a
M. Lewis wrote:
Charles K. Clarkson recently replied to Sreedhar Reddy in which one of
the corrections he made was:
open my $fh, '', $input_file or die qq(Cannot open $input_file: $!);
It seems that Charles' habits are to prevent excess typing and to 'be
lean on variables' as he phrased
Hi,
M. Lewis [EMAIL PROTECTED] asked:
You've lost me here Thomas. Again, his code was:
open my $fh, '', $input_file or die qq(Cannot open
$input_file: $!);
What am I missing here?
Charles wants to output an error message like
Cannot open somefilename: No such file or directory at
Hi all,
We have an Alcatel CORBA 5620 gateway from which we have extract
information. Does anyone know of a module that would enable Perl to
access this service?
I searched the CPAN's archive but could not find anything. Apologies
if this is the wrong list to ask - which would be the best
John W. Krahn wrote:
M. Lewis wrote:
I assume that Charles did this for clarity.
And for safety.
perldoc -q How can I open a file
Also you should read through the open tutorial and the I/O Operators section
of the perlop.pod document.
perldoc perlopentut
perldoc perlop
John
--
use
M. Lewis mailto:[EMAIL PROTECTED] wrote:
: open my $fh, '', $input_file or die qq(Cannot open $input_file: $!);
[snip]
: Charles opted to use qq() which cause him to have to enclose the
: $input_file in .
$input_file is in quotes just in case I tried to open a file
that has leading or
I'm really new to PERL, and have what's probably a really basic
question
I've seen references to perldoc where apparently a person can look and
find explanations of various PERL topics...but where do I go to find
PERLDOC? Is this
a website or ???
Thank you for help and suggestions.
From: [EMAIL PROTECTED]
I'm really new to PERL, and have what's probably a really basic
question
I've seen references to perldoc where apparently a person can look and
find explanations of various PERL topics...but where do I go to find
PERLDOC? Is this
a website or ???
perldoc is a
Octavian Rasnita mailto:[EMAIL PROTECTED] wrote:
: perldoc is a program included in the perl package.
:
: Just run the commands:
:
: perldoc perldoc
: perldoc perl
You can run the commands from a dos (or command prompt) window
on a Windows type machine.
: And you will see how you should
Greetings,
I have a perl script that is using telnet that I need to switch to SSH
and I'm having some issues. First is I need to use sudo to run the
command on the server I'm connecting to and second I need to run more
then one command, I'll then save all this output.
I have this so far but it
Hello. I send you example. And that
example i will try what i want to ask.
This is a file is info.xml and it constraint
below
info
Personal
NAMEUlfet/NAME
SURNAMETANRIVERDIYEV/SURNAME
AGE24/AGE
ADDRESSBAKU/ADDRESS
/Personal
Education
SCHOOLXetai
191/SCHOOL
On Mon, 17 Oct 2005, Charles K. Clarkson wrote:
Octavian Rasnita mailto:[EMAIL PROTECTED] wrote:
: perldoc is a program included in the perl package.
:
: Just run the commands:
:
: perldoc perldoc
: perldoc perl
You can run the commands from a dos (or command prompt) window
on
On Mon, 17 Oct 2005 00:54:28 -0500, M. Lewis wrote:
Charles K. Clarkson recently replied to Sreedhar Reddy in which one of
the corrections he made was:
open my $fh, '', $input_file or die qq(Cannot open $input_file: $!);
[...]
When I have opened a file, I have always done:
open (FILE,
On 10/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
This is a file is info.xml and it constraint below
info
Personal
NAMEUlfet/NAME
SURNAMETANRIVERDIYEV/SURNAME
AGE24/AGE
ADDRESSBAKU/ADDRESS
/Personal
Education
SCHOOLXetai
Hello,
I want to use Tk::jpeg::lite. I have a standard SuSE 9.2 (perl 5.8.5)
installation and I have added every package which even smells like Perl, also
Perl Tk. When compiling Tk::jpeg::lite (perl Makefile.PL) I get the
following output:
(I have marked the interesting things)
...
Checking
On 10/17/05, Tielman Koekemoer (TNE) [EMAIL PROTECTED] wrote:
We have an Alcatel CORBA 5620 gateway from which we have extract
information. Does anyone know of a module that would enable Perl to
access this service?
I searched the CPAN's archive but could not find anything. Apologies
if this
On Mon, 2005-10-17 at 18:12 +0200, Richard Müller wrote:
Hello,
I want to use Tk::jpeg::lite. I have a standard SuSE 9.2 (perl 5.8.5)
installation and I have added every package which even smells like Perl, also
Perl Tk. When compiling Tk::jpeg::lite (perl Makefile.PL) I get the
How do I unsubscribe from the list?
Thank you
__
William Ampeh (x3939)
Federal Reserve Board
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Am Montag, 17. Oktober 2005 18:16 schrieb Dan Klose:
On Mon, 2005-10-17 at 18:12 +0200, Richard Müller wrote:
Hello,
I want to use Tk::jpeg::lite. I have a standard SuSE 9.2 (perl 5.8.5)
installation and I have added every package which even smells like Perl,
also Perl Tk. When compiling
NO IDEA - sorry!
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Am Montag, 17. Oktober 2005 18:20 schrieb [EMAIL PROTECTED]:
How do I unsubscribe from the list?
Thank you
To unsubscribe, send a message to:
[EMAIL PROTECTED]
xx = email address before @, yy = email address after @
--
Richard Müller - Am Spring 9 - D 58802 Balve-Eisborn
www.oeko-sorpe.de
Bowen, Bruce mailto:[EMAIL PROTECTED] wrote:
: If I declare my 'lexical variables' at the beginning of a
: file, and then refer to the variable without the 'my ' in front
: of it, does that change it back to a package variable or does
: that create a new package variable?
Once a variable
Hello
I learned Perl on a Unix System and I would like to use perl on a PC. Do I need
to install active perl? What are the steps to running perl on a PC?
Thanks,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi
Well first of all if your PC has WinXp you need to download active perl
But the most important is that there are some difference between both
perl's
I would recommend you google a bit to see some tutorial just to get the
correct sintaxis
Or to buy a book perl by example has both Win and Unix
ActivePerl from ActiveState is the best way to go in my opinion. You
can install it with a quick MSI and it will automatically associate the
Perl (.pl, .plx, etc) extensions with Perl.
It also comes with a nice package manager, PPM, that lets you quickly
find precompiled modules for Windows.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 2:21 PM
To: beginners@perl.org
Subject: Running Perl on PC
Hello
I learned Perl on a Unix System and I would like to use perl on a PC. Do I
need to install active perl? What are the
-Original Message-
From: Brian Volk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 3:51 PM
To: [EMAIL PROTECTED]; beginners@perl.org
Subject: RE: Running Perl on PC
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October
Hello list.
After I converted some parts of my program to use Math::Currency I faced
the inconvenience of my XML generators not working anymore. 20 minutes
of jumping up and down with the debugger yielded that the following
dumbed down example:
use Math::Currency;
use XML::Simple;
my $number
Greetings.
I've got an OO object that I want to destroy from inside the object itself.
I'm trying:
sub destroy_self {
my $self = shift;
$self = undef;
}
But this doesn't work. What is the correct way of doing it?
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific
Thanks to Thomas, John, Charles and Peter. Lots of great input
concerning the *why* question.
I will certainly adapt my style (or lack thereof) to the better method.
As far as the part about the CGI stuff. While that is not in my realm at
this time, who knows when it might be. Best to adopt
31 matches
Mail list logo