On 10/18/2006 12:14 AM, Dharshana Eswaran wrote:
Hi All,
I am a student who is working on Perl on my project.
I am a beginner in Perl.
I know how to read the data from files into a variable or array. I mean, i
know to read the data line by line into a varaiable or teh full file
contents into a
Hi All,
I am a student who is working on Perl on my project.
I am a beginner in Perl.
I know how to read the data from files into a variable or array. I mean, i
know to read the data line by line into a varaiable or teh full file
contents into an array.
But, i have stored few hex bytes in the
Mukthar,
I am not sure I understood your problem, but let me give a try. The
user input a value for $MACHINE_TYPE and you want to test if there
exists a file "$first.trc.$MACHINE_TYPE" regardless of case in the
variable. This is it?
It depends: if the filesystem is case-insensitive (like in Wind
-- Forwarded message --
From: mukthar ahmed <[EMAIL PROTECTED]>
Date: Aug 23, 2006 5:34 PM
Subject: hello Sir, I have an issue with the case insensitive
characters, would you plz help me
To: perl5-porters@perl.org
Let me introduce myself first,
I am Mukthar Ahmed, workin
> chomp($dir);
> my @DIR=split ///, $dir;
> print $DIR[0];
> but it throws an error "Search pattern not terminated"
> Plz help.
$ perl -le'
use File::Spec;
print for File::Spec->splitdir( "some/dir/to/look/for/files" );
'
some
dir
to
look
for
files
John
0];
but it throws an error "Search pattern not terminated"
Plz help.
--
Thankx & Regards
Roopak Kr Prajapat
You need to use a slash to escaped - /\//
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/>
On Oct 11, 2005, at 11:37, The Roopak Times wrote:
Hi All
As i was continuing with perl i created a program to churn out
individual
directory names from a given path in windows.Here is the program:
#use warnings;
#use strict;
Print "Enter the path:";
my $dir=;
chomp($dir);
my @DIR=split //
or "Search pattern not terminated"
Plz help.
--
Thankx & Regards
Roopak Kr Prajapat