I have this perl script which is taking value from an external appliaction
and then after processing it is passing back a value to same application.
But I was not able to figure out how can I define the variable    my $path
(which is taking value from external app). what should be the syntex.
Can somebody help me to set the syntex of the variable to accept value from
app.

 use strict;
 use File::Basename;
  my $path =  Value from other app;
  my $base = basename($path);
  my $dir  = dirname($path);
  print STDOUT $base;



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to