Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: why this code doesnt work?

by bimleshsharma (Beadle)
on Jul 05, 2011 at 06:32 UTC ( #912759=note: print w/ replies, xml ) Need Help??


in reply to why this code doesnt work?

Actually your code is like this...

#!/usr/bin/env perl
use warnings;
use strict;
my $dummy_scalar_1;
$dummy_scalar_1=`pdw`;
chomp $dummy_scalar_1;
print "$dummy_scalar_1";

nothing wrong with code except one. You should write

$dummy_scalar_1=`pwd`;
instead of
$dummy_scalar_1=`pdw`;
enjoy....


Comment on Re: why this code doesnt work?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-21 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls