Siegfried Heintze (Aditi) wrote:
the following does not produce an error and does not work.
$ perl -MFile::Tasks -e
'(File::Tasks->new)->remove_dir("2008-03-11_15-42-58/");
File::Path is probably a better choice than File::Tasks.
perl -MFile::Path -e 'rmtree("2008-03-11_15-42-58")'
--
Gu
On Thu, Apr 24, 2008 at 12:07 AM, Siegfried Heintze (Aditi)
<[EMAIL PROTECTED]> wrote:
> I started installing Mail::Sender, Mail::Send and Mail::Util and discovered
> it is prompting me for a default SMTP server as part of the installation
> server. Well I go to outlook and view my account settin
On Thu, Apr 24, 2008 at 12:37 AM, Li, Jialin <[EMAIL PROTECTED]> wrote:
> you can use File::Find module to traverse the directory.
>
> I think this module is simulating the unix find command.
snip
File::Find is a good module, but in this case we are working with
files that are all in the same dir
On Wed, Apr 23, 2008 at 11:58 PM, Siegfried Heintze (Aditi)
<[EMAIL PROTECTED]> wrote:
> I have directory names in the format of "-mm-dd_hh-mm-ss". Sometimes I
> want to delete all the non-empty directories that are from last week or
> earlier. Other times I want to delete all the directories
you can use File::Find module to traverse the directory.
I think this module is simulating the unix find command.
On Wed, Apr 23, 2008 at 10:58 PM, Siegfried Heintze (Aditi)
<[EMAIL PROTECTED]> wrote:
> I have directory names in the format of "-mm-dd_hh-mm-ss". Sometimes I
> want to delete
I started installing Mail::Sender, Mail::Send and Mail::Util and discovered it
is prompting me for a default SMTP server as part of the installation server.
Well I go to outlook and view my account settings and discover that I'm connect
to an exchange server. Is that what I specify for my SMTP s
I have directory names in the format of "-mm-dd_hh-mm-ss". Sometimes I want
to delete all the non-empty directories that are from last week or earlier.
Other times I want to delete all the directories that are over a week old.
Is there a script out there already that does this?
Assuming the
John W. Krahn wrote:
Richard Lee wrote:
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see
if one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracin
John W. Krahn wrote:
Richard Lee wrote:
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see
if one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracin
From: "J. Peng" <[EMAIL PROTECTED]>
> Someone said Perl is a "wrote-only language", what does this mean?
That the person can't spell and doesn't know Perl.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and
From: "R (Chandra) Chandrasekhar" <[EMAIL PROTECTED]>
> 3. Some transliteration examples are shown below:
>
> a a U+0061 LATIN SMALL LETTER A
> aa a U+0101 LATIN SMALL LETTER A WITH MACRON
> A a U+0101 LATIN SMALL LETTER A WITH MACRON
> .a ' U+0027 APOSTROPHE
>
John W. Krahn wrote:
Richard Lee wrote:
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see
if one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracin
John W. Krahn wrote:
Richard Lee wrote:
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see
if one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracin
Richard Lee wrote:
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see if
one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracing the program, it only
Perl is a write-only language because its main advantage "There is more than
one way to do it".
It is the most flexible language, so there can be very many styles of
programming in perl, and because of this it is much harder to create a big
team of programmers in perl than in other languages.
something is wrong with this..
say %yahoo's key contains the variable , X
I wanted to go through the @array which has array of hashes... to see if
one of the value is equal to
X and if it is, wanted to assign the key of the @array to $ex_var..
Tracing the program, it only goes through 6 line
J. Peng wrote:
>
> Someone said Perl is a "wrote-only language", what does this mean?
http://en.wikipedia.org/wiki/Write-only_language
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Wed, Apr 23, 2008 at 1:03 AM, J. Peng <[EMAIL PROTECTED]> wrote:
> Someone said Perl is a "wrote-only language", what does this mean?
snip
Normally it is write-only language. This refers to some people's
belief that Perl is difficult to read. That is, you can write it but
you can't read it af
Someone said Perl is a "wrote-only language", what does this mean?
--
J. Peng - QQMail Operation Team
eMail: [EMAIL PROTECTED] AIM: JeffHua
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Sharan Basappa wrote:
On Wed, Apr 23, 2008 at 8:33 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
Sharan Basappa wrote:
I have gone through the text-balanced doc and tried few examples
myself.
$text = q{12{abc}12345};
($extracted, $remainder) = extract_tagged($text, '{', '}');
print "$e
On Wed, Apr 23, 2008 at 8:33 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Sharan Basappa wrote:
>
> > I have gone through the text-balanced doc and tried few examples
> > myself. Looks like I need
> > some help on this module usage and capabilities.
> > Basically the text I am trying to extr
On Wed, Apr 23, 2008 at 5:46 AM, sivasakthi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have tried to install the Perl-GD module from source code, it throws
> following error when i gave make,
>
> GD.xs:7:16: gd.h: No such file or directory
snip
> how can i eliminate the problem ? is any heade
On Wed, Apr 23, 2008 at 5:34 AM, R (Chandra) Chandrasekhar
<[EMAIL PROTECTED]> wrote:
> Dear Folks,
>
> A scheme called ITRANS uses the ASCII printing character set and between
> one and three printing characters to unambiguously represent characters in
> Indic scripts or a Romanized script calle
On Wed, Apr 23, 2008 at 8:56 AM, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I need to delete some lines in file using Perl. The requirement is that
> I have one file which contains following lines.
>
> Element * checkdout
> Element * latest.
snip
You should read
http://perldoc.perl.org/perlfaq5
Sharan Basappa wrote:
I have gone through the text-balanced doc and tried few examples
myself. Looks like I need
some help on this module usage and capabilities.
Basically the text I am trying to extract is embedded inside two
tokens (say {}),
but it can occur anywhere in the input text stream. I
On Wed, Apr 23, 2008 at 8:56 PM, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
> I need to delete some lines in file using Perl. The requirement is that
> I have one file which contains following lines.
>
Please submit your question to "[EMAIL PROTECTED]".
--
J. Peng - QQMail Operation Team
eM
Hi All,
I need to delete some lines in file using Perl. The requirement is that
I have one file which contains following lines.
Element * checkdout
Element * latest.
And now I want to delete these lines using Perl script.
Please help.
Regards,
Irfan
On Wed, Apr 23, 2008 at 5:46 PM, sivasakthi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have tried to install the Perl-GD module from source code, it throws
> following error when i gave make,
>
Make sure you have downloaded and installed the following packages:
a. Perl 5.6.0 or higher:
GD.xs:7:16: gd.h: No such file or directory
GD.xs:8:21: gdfontg.h: No such file or directory
GD.xs:9:21: gdfontl.h: No such file or directory
GD.xs:10:22: gdfontmb.h: No such file or directory
GD.xs:11:21: gdfonts.h: No such file or directory
GD.xs:12:21: gdfontt.h: No such file or directory
It loo
Original Message
Subject: Re: Building/defining variables from an value in string
Date: Wed, 23 Apr 2008 04:46:21 -0400
From: Uri Guttman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Newsgroups: perl.beginners
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED
Hi all,
I have tried to install the Perl-GD module from source code, it throws
following error when i gave make,
GD.xs:7:16: gd.h: No such file or directory
GD.xs:8:21: gdfontg.h: No such file or directory
GD.xs:9:21: gdfontl.h: No such file or directory
GD.xs:10:22: gdfontmb.h: No such file or
Dear Folks,
A scheme called ITRANS uses the ASCII printing character set and between one and
three printing characters to unambiguously represent characters in Indic
scripts or a Romanized script called IAST. Since characters in these scripts
have Unicode code points, it should be possible to
Aruna Goke wrote:
print keys %h; print "---"; say values %h;
say keys %h, '---', values %h;
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
33 matches
Mail list logo