Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Use of uninitialized value $_ in string

by juanpablo (Novice)
on Apr 05, 2014 at 13:56 UTC ( #1081242=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $conf = "$_";
    my $conf_bn = basename($conf);
    ...
    my $backup = "$conf.$date";
    my $backup_bn = basename("$conf.$date");
    my $ltime = localtime();
    
  2. or download this
    sub add_vhost {
            my $conf;
            my $conf_bn;
            my $ltime;
    
  3. or download this
    foreach (@object) {
        my $conf = "$_";
    ...
        my $backup = "$conf.$date";
        my $backup_bn = basename("$conf.$date");
        my $ltime = localtime();
    
  4. or download this
    [root@wsprod01 myperl]# ./test.pl --domain google.com --client google
    Usage: ./test.pl --domain companydomain.com --client company [--job-co
    +de 12345] [--help].
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-10-04 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (18 votes). Check out past polls.

    Notices?