arvindmarlabs has asked for the wisdom of the Perl Monks concerning the following question:
I am execting this script but i am getting result likemy $date = `date +%Y%m%d`; my $tar = '.tar'; my $gz = '.gz'; my $dbfile = bugs_db_.$date.$gz."\n"; my $webfile = bugzilla_.$date.$tar.$gz."\n"; print $dbfile; print $webfile; exit;
I need a output likebugs_db_20150702 .gz bugzilla_20150702 .tar.gz
in one line. Please help me guys as soon as possible.bugs_db_20150702.gz bugzilla_20150702.tar.gz
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl Variable Help.
by choroba (Cardinal) on Jul 02, 2015 at 09:23 UTC | |
Re: Perl Variable Help.
by marto (Cardinal) on Jul 02, 2015 at 09:33 UTC | |
by Dumu (Monk) on Jul 02, 2015 at 11:36 UTC | |
Re: Perl Variable Help.
by hippo (Archbishop) on Jul 02, 2015 at 09:23 UTC | |
Re: Perl Variable Help.
by 1nickt (Canon) on Jul 02, 2015 at 10:01 UTC | |
Re: Perl Variable Help.
by Monk::Thomas (Friar) on Jul 02, 2015 at 10:00 UTC | |
Re: Perl Variable Help.
by Discipulus (Canon) on Jul 02, 2015 at 09:29 UTC | |
by Dumu (Monk) on Jul 02, 2015 at 09:53 UTC | |
by Discipulus (Canon) on Jul 02, 2015 at 09:56 UTC |