Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: passing a variable value to Unix command

by pobocks (Chaplain)
on Oct 19, 2010 at 23:38 UTC ( [id://866198] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
               my $name = $k."\*";
               my $x = `find . -name "$name" -print`;
    }