mAyur schreef:
> always escape '\' in double quotes like this "\\".
Inside single quotes or q{} too. Try for example:
perl -wle '
print q{\}
'
--
Affijn, Ruud
"Gewoon is een tijger."l
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://le
On Oct 25, 9:38 pm, [EMAIL PROTECTED] (mAyur) wrote:
> On Oct 23, 6:55 pm, [EMAIL PROTECTED] (Paul Lalli) wrote:
>
>
>
> > On Oct 22, 3:27 pm, [EMAIL PROTECTED] (Ayesha) wrote:
>
> > > Hi all
>
> > > I wrote this code to read a file (in the same directory as the script)
> > > on Win XP
> > > **
On Oct 23, 6:55 pm, [EMAIL PROTECTED] (Paul Lalli) wrote:
> On Oct 22, 3:27 pm, [EMAIL PROTECTED] (Ayesha) wrote:
>
>
>
>
>
> > Hi all
>
> > I wrote this code to read a file (in the same directory as the script)
> > on Win XP
> > *
Ayesha wrote:
> Hi all
>
> Thanks to all who replied to my question yesterday. I am using perl-
> express IDE to write a small perl code. Sometimes the code runs for a
> long time (infinite loop logical error), I close the editor but
> realize that the computer is suddenly running slow. So I have t
On Oct 23, 6:57 am, [EMAIL PROTECTED] (Paul Lalli) wrote:
> On Oct 23, 12:27 am, [EMAIL PROTECTED] (Ayesha) wrote:
>
> > I was not in the right directory, but I learnt about forward and
> > backward slashed also. Thanks to all who replied
>
> Arg. This is exactly what I was afraid of. The post ab
On Oct 23, 6:57 am, [EMAIL PROTECTED] (Paul Lalli) wrote:
> On Oct 23, 12:27 am, [EMAIL PROTECTED] (Ayesha) wrote:
>
> > I was not in the right directory, but I learnt about forward and
> > backward slashed also. Thanks to all who replied
>
> Arg. This is exactly what I was afraid of. The post ab
If perl consume your system source large,it mostly has two reasons:
1) Your task is really hard,ie,to handle a huge file.
2) Wrong usage with perl code.
So you'd better to describe clearly what you are doing and how you do
it.Also posting some code piece here is better.
On 10/24/07, Ayesha <[EMA
Hi all
Thanks to all who replied to my question yesterday. I am using perl-
express IDE to write a small perl code. Sometimes the code runs for a
long time (infinite loop logical error), I close the editor but
realize that the computer is suddenly running slow. So I have to go to
task manager and
From: Paul Lalli <[EMAIL PROTECTED]>
> You are asking *us* why Perl can't open the file, before you ask
> *Perl* why it can't open the file. That is most illogical...
>
> Your die() message should include the $! variable, which contains the
> last operating system error. It will tell you why the
On Oct 23, 12:27 am, [EMAIL PROTECTED] (Ayesha) wrote:
> I was not in the right directory, but I learnt about forward and
> backward slashed also. Thanks to all who replied
Arg. This is exactly what I was afraid of. The post about forward vs
backwards slashes was wrong. Do not follow it. You
On Oct 22, 3:27 pm, [EMAIL PROTECTED] (Ayesha) wrote:
> Hi all
>
> I wrote this code to read a file (in the same directory as the script)
> on Win XP
> ***
> #!/usr/local/bin/perl
> use strict;
> use wa
On Oct 22, 7:49 pm, [EMAIL PROTECTED] (Yitzle) wrote:
> The '/' is used on Unix, but not on Windows.
> Try replacing it with a '\'
> open(READFILE1,"<.\Sample_text_file.txt") or die ("Cannot open the given
> file");
> Or maybe just drop the './' entirely.
To the OP, please ignore this post comple
On Oct 22, 9:32 pm, [EMAIL PROTECTED] (Rob Dixon) wrote:
> Ayesha wrote:
> > Hi all
>
> > I wrote this code to read a file (in the same directory as the script)
> > on Win XP
> > ***
> > #!/usr/local/bi
Ayesha wrote:
Hi all
I wrote this code to read a file (in the same directory as the script)
on Win XP
***
#!/usr/local/bin/perl
use strict;
use warnings;
open(READFILE1,"<./Sample_text_file.txt") or
From: yitzle <[EMAIL PROTECTED]>
> The '/' is used on Unix, but not on Windows.
> Try replacing it with a '\'
> open(READFILE1,"<.\Sample_text_file.txt") or die ("Cannot open the given
> file");
> Or maybe just drop the './' entirely.
Wrong and wrong.
1) Most system calls do not give a damn whet
The '/' is used on Unix, but not on Windows.
Try replacing it with a '\'
open(READFILE1,"<.\Sample_text_file.txt") or die ("Cannot open the given file");
Or maybe just drop the './' entirely.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://le
Hi all
I wrote this code to read a file (in the same directory as the script)
on Win XP
***
#!/usr/local/bin/perl
use strict;
use warnings;
open(READFILE1,"<./Sample_text_file.txt") or die ("Cannot ope
On Thursday 14 June 2001 08:04 am, you wrote:
> OK I give up
>
> TMTOWTDI?
>
There's More Than One Way To Do It
At least we were a little more friendly about it, as well as point to some
resources that would be more help in the long run. And let's not forget
TMTOWTDI.
--SNIP--
> Fucking typical.
--SNIP--
> I hope this answer is more useful than that suggested by the others.
On Wednesday, June 13, 2001, at 12:05 PM, Ward, Stefan wrote:
> Does anyone have an example of a way to write a perl script that will
> go out
> hit a data base table, pull in a column for that table and use that
> column
> in a dropdown list? I know what to do once I get that variable
> sel
This should help :
http://dbi.symbolstone.org/
http://search.cpan.org/doc/TIMB/DBI-1.18/DBI.pm
On Wednesday 13 June 2001 12:22 pm, Peter Scott wrote:
> At 12:05 PM 6/13/01 -0700, Ward, Stefan wrote:
> >Does anyone have an example of a way to write a perl script that will go
> > out hit a data base table, pull in a column for that table and use that
> > column in a dropdown list? I know wha
At 12:05 PM 6/13/01 -0700, Ward, Stefan wrote:
>Does anyone have an example of a way to write a perl script that will go out
>hit a data base table, pull in a column for that table and use that column
>in a dropdown list? I know what to do once I get that variable selected by
>RTFriendlyM, but co
Does anyone have an example of a way to write a perl script that will go out
hit a data base table, pull in a column for that table and use that column
in a dropdown list? I know what to do once I get that variable selected by
RTFriendlyM, but couldn't find a clear example of this.
Thanks,
Ste
24 matches
Mail list logo