Mallik wrote:
>
> Dear Friends,
Hello,
> I have the following code
>
> unless(-d $dir)
> {
>unless(mkdir $dir)
>{
> print "Error\n";
>}
> }
>
> Can I rewrite the above code in the following way
>
> unless (-d $dir | mkdir $dir)
> {
>print "Error\n";
> }
You don't real
On Mon, 19 Jan 2004, Mallik wrote:
> I have the following code
>
> unless(-d $dir)
> {
>unless(mkdir $dir)
>{
> print "Error\n";
>}
> }
>
> Can I rewrite the above code in the following way
>
> unless (-d $dir | mkdir $dir)
> {
>print "Error\n";
> }
>
Well that works fo
On Monday 19 Jan 2004 10:12 am, Mallik wrote:
> Dear Friends,
>
> I have the following code
>
> unless(-d $dir)
> {
>unless(mkdir $dir)
>{
> print "Error\n";
>}
> }
>
> Can I rewrite the above code in the following way
>
> unless (-d $dir | mkdir $dir)
> {
>print "Error\n";
>
Dear Friends,
I have the following code
unless(-d $dir)
{
unless(mkdir $dir)
{
print "Error\n";
}
}
Can I rewrite the above code in the following way
unless (-d $dir | mkdir $dir)
{
print "Error\n";
}
Thanks in advance,
Mallik.
--
To unsubscribe, e-mail: [EMAIL PROTECTED